I wrote a simple little bit of code to set focus on the first visible
form element in a form

$('#tab0 table tr :input:visible:first').focus();

It works great in Firefox but IE throws the error

"  'this.parentNode.borderCss.on' is null or not an object   "

I also tried
$('#tab0 input:eq(0)').focus();
with the same results - works in FF, gives that error in IE

any ideas?a

Reply via email to