How to set the focus to the username textbox of asp:LoginView?

jQuery is so cool, I had to blog about this!

<script type="text/javascript">
     function pageLoad() {
         $(":text:first").focus()
     } </script>

Also google gave no satisfying solution for this! Google search for Loginview jquery set focus textbox

1 comment:

Juri Strumpflohner said...

I often came across jquery when searching on the web and I often wanted to try it out because it definitely seems to be a very handy "library" but then I always forgot about it :)

Post a Comment

Latest Posts

Popular Posts