Hi,

> $('[EMAIL PROTECTED]"my:elem"]')

I guess, that that does not use getElementById() and thus is a lot slower than 
$('#my:elem'). I guess, that JSF might also have Problems with CSS, becaue 
there you use stuff like #my:hover, etc.

To make the patch to jQuery as small as possible and let most existing code 
continue to work: How about something like this: $('#my\:elem') selects the 
Element with the ID "my:elem" whereas $('#my:elem') selects the Element with 
the ID "my" and uses :elem as custom selector. That could be achieved by 
simply changing the regular expression, Manfred named to 
/^([#.]?)(([a-z0-9\\*_-]|\\:)*)/i

Christof

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

Reply via email to