How to automatically select a textbox when a web page loads?

<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
</head>

<body onload="ss()">


<script>
$(function myfuntion() {
  $("#amit").focus();
});
</script>


<input type="text" id="amit">

</body>

No comments:

Post a Comment