[jQuery] Re: Dynamically setting tab index and .focus() problems

2009-05-17 Thread Pixelastic
I finally get it working by specifiying custom focus and open events in the dialog settings. Here they are : // Setting new tabindex to input elements focus: function(e, ui) { $(e.target).find(':input:visible').each(function(i) { $(this).attr('tabindex', 3+i);

[jQuery] Re: Dynamically setting tab index and .focus() problems

2009-05-14 Thread gearb0x
I've got the same problem with FF3, seems to work fine in IE7 Any luck? On May 10, 11:59 pm, Pixelastic timcc.pe...@gmail.com wrote: Hello, I'm opening a dialog box using the jQuery UI dialog methods, this box will display a form, and I would like to autofocus the first element. I'm also