how to set default focus?

Posted by Elaine on Stack Overflow See other posts from Stack Overflow or by Elaine
Published on 2010-06-11T03:17:08Z Indexed on 2010/06/11 3:22 UTC
Read the original article Hit count: 225

Filed under:

Now one Submit button is the default focused control. but I need to set the default focus to another imagebutton. Can only use $(document).ready(function(){ctrl.focus();} ? or has another property to fulfill it?

© Stack Overflow or respective owner

Related posts about html