> $('[EMAIL PROTECTED]"jtip"]')
> or
> $('[EMAIL PROTECTED]')
If it isn't accepting both quotes then I think there is some unintended bug.
It should also be happy with no quotes as long as there are no spaces.
Here's the line from jQuery.parse that indicates it accepts all three:
// Match: [EMAIL PROTECTED]'test'], [EMAIL PROTECTED]
"\\[ *(@)S *([!*$^=]*) *('?\"?)(.*?)\\4 *\\]",
It seems like the quote matching should be done this way to avoid some
pathological cases:
"\\[ *(@)S *([!*$^=]*) *(['\"]?)(.*?)\\4 *\\]",
But even as it is, it should accept either quote style.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/