[jQuery] Re: how to use focus in a form?

2009-01-27 Thread Benjamin Sterling
Instead of doing: $('select:first').focus(); do: $('select:first').get(0).focus(); On Tue, Jan 27, 2009 at 8:40 AM, ƝƟƧǷƕƩŘąŦƱƧ Ɵ MƩƧŦŘƩ nospheratus.sm@ gmail.com wrote: well my problem is: I have n forms on the website that I working, then I need one script on jQuery that's work in all

[jQuery] Re: how to use focus in a form?

2009-01-27 Thread Mike Alsup
well my problem is: I have n forms on the website that I working, then I need one script on jQuery that's work in all using the focus to the first element onf the form (excluding the firt hidden input), can someone help me???, my starting code is here: $(document).ready(function(){