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
Christof Donat schrieb:
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
I second this suggestion. Most other meta-languages allow
backslash-escaping, I don't see why it would be a bad idea here.
- Brian
I didn't like the idea of hacking jQuery to make selectors with these
special chars work, but as it turned out, that is what should be
expected! From the CSS
Hi
I wonder why jquery is using the : as seperator for custom selectors as this
is just another character which can be used in any element id.
In other words this means that for example if I have an id=my:elem this
element is the not selectable like $('#my:id') as the regexp on
line 949: re2 =
Have you posted this on the developer list? That's probably a really
good place for this post.
Cheers,
Chris
manfred berry wrote:
Hi
I wonder why jquery is using the : as seperator for custom selectors as this
is just another character which can be used in any element id.
In other words
There is a ticket for this: http://dev.jquery.com/ticket/143
--
Brandon Aaron
On 3/8/07, Christopher Jordan [EMAIL PROTECTED] wrote:
Have you posted this on the developer list? That's probably a really
good place for this post.
Cheers,
Chris
manfred berry wrote:
Hi
I wonder why
manfred berry schrieb:
Hi
I wonder why jquery is using the : as seperator for custom selectors as this
is just another character which can be used in any element id.
In other words this means that for example if I have an id=my:elem this
element is the not selectable like $('#my:id') as
Brandon Aaron schrieb:
There is a ticket for this: http://dev.jquery.com/ticket/143
I've added another comment on that ticket.
I'm currently working with JSF, too, so a working solution is quite
interesting.
--
Jörn Zaefferer
http://bassistance.de
Sam Collett wrote:
It is valid (as it mentions colons in the text you quoted), just not
at the start.
Oops. That'll teach me to read everything twice after shoveling a foot and
a half of snow. ;-)
--
View this message in context:
It looks like : isn't a valid character for ID attributes. From
http://www.w3.org/TR/html401/types.html#type-name :
ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed
by any number of letters, digits ([0-9]), hyphens (-), underscores
(_), colons (:), and periods
On 15/02/07, Jason Levine [EMAIL PROTECTED] wrote:
It looks like : isn't a valid character for ID attributes. From
http://www.w3.org/TR/html401/types.html#type-name :
ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed
by any number of letters, digits ([0-9]),
Jason -
We don't support HTML-style attributes, instead we support CSS
Selectors (which support a subset of HTML attributes).
Some information here:
http://www.w3.org/TR/CSS21/selector.html
It's an important distinction, because using CSS selectors it's not
possible to select all possible HTML
12 matches
Mail list logo