2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Give focus to text boxes on load

This commit is contained in:
azammitdcarf
2010-09-13 01:30:26 +00:00
parent a6a3f586e0
commit 3ea0eaddb2
2 changed files with 8 additions and 1 deletions

View File

@@ -5,4 +5,8 @@
if(typeof Custom_On_Load == 'function'){
Custom_On_Load();
}
$(document).ready(function() {
$(":text:visible:enabled:first").focus();
$("textarea:first").focus();
});
</script>