$("[EMAIL PROTECTED]'blog[headline]']") will work. A lot slower than selecting
by
id though.
Blair.
On 12/30/06, Aaron Heimlich <[EMAIL PROTECTED]> wrote:
On 12/30/06, Jason Yeckel <[EMAIL PROTECTED]> wrote:
>
> Blast but it groups them in to an array and is so nice sometimes lol
> *shrugs*
>
[] is perfectly acceptable in the "name" attribute[1][2] (in fact, PHP
will even use them to create arrays of form variables[3]). It is not,
however, acceptable in the "id" attribute, and using them can lead to the
kinds of issues you are having.
[1] http://www.w3.org/TR/html4/interact/forms.html#adef-name-INPUT
[2] http://www.w3.org/TR/html4/types.html#type-cdata
[3] http://www.php.net/manual/en/faq.html.php#faq.html.arrays
--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/