Is the following code, to find the first focusable element on the page, 
correct? Or am i missing something (e.g. other elements, ordering etc.)?

oElem = 
$(document).find("a,frame,iframe,label,input,select,textarea,button").filter(":visible").filter(":enabled")[0];

With latest SVN off course

-- Gilles

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to