I am working a mobile website, using jQuery Mobile. Safari browser (5.1) not recognzing jQuery click event - like ("#button1").click (function (){ ...... });
Any idea?
Code Snippets:
$("#submit").click(function () {
alert("hello");
});
<form id="loginForm" class="validate" action="" method="get">
<input type="button" id="submit" name="submit" value="LOGIN" /> </form>