> file where one of the elements attributes is "for," which in my case will
> help the end user know what the 'txt' attr is for in the design/flow of the
> site and the naming convention was totally arbitrary.  So, in my instance,
> when I call .attr('for') i get 'undefined', but if I change the attribute to
> 'whatfor' in the xml file and then call with .attr('whatfor'); it spits back
> the value of the attribute.  Other then for a label tag, I am not sure where
> else the 'for' attribute is used for.  I can toss up a test page if needed.

There's a few attr names you'll want to stay away from for xml docs:
for, class, float, opacity.  jQuery has special handling for these to
fix common mistakes and browser inconsistencies.

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

Reply via email to