When attempting to get an element with the name (the same happens when
I use 'id') ends with 'FieldName' I get an error 'z has no
properties'. I am doing this as the page is an ASP.NET one (so the
name is generated server side, but always contains 'FieldName').

Seems to work fine in IE though.

I am doing this to give 'FieldName' focus when the page loads.
$("[EMAIL PROTECTED]'FieldName']")[0].focus();

Using * (contains) instead of $ causes the same error.

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

Reply via email to