> $('#blog[headline]').val('newvalue');
> 
> <input type="text" id="blog[headline]" name="blog[headline]" 
> value="" />
> 
> It seems i cant access the node for [] in the name breaks the 
> ability to access it unless i am doing something wrong?

[] are not valid characters in an id attribute:

http://www.w3.org/TR/html4/types.html#type-name

Browsers and jQuery don't necessarily enforce this, but there are no
guarantees that anything will work when there are invalid characters in an
id.

-Mike


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to