> @john & the team: congratulation on your hard work.
>
> i just threw the beta instead of the 1.2.6 and it seems i'm
> rediscovering my interface: much snappier effects, more fluid
> animations.
>
> I found 2 bugs related to selectors. the bug tracker seems to be down,
> so here they are, sorry if that's inconvenient.
>
> I haven't done test cases for them as i'm lacking time but if u need
> it, let me know, i'll take it on my sleep :).
>
> 1//
> my css styleswitcher does not work anymore. Apparently, the selector
> engine is the culprit:
>
> the code
>
>
> function switchStylesheet(styleName)
> {
> // STYLESHEET SWITCHER
> $('link[rel*=styl...@title]').each(function(i)
> {
> this.disabled = true;
> if (this.getAttribute('title') == styleName)
> {
> this.disabled = false;
> }
> });
> }
>
> the error message (coming from firefox error console, firebug does not
> catch this one):
>
> Erreur : [Exception... "'Syntax error, unrecognized expression:
> [...@title]' when calling method: [nsIDOMEventListener::handleEvent]"
> nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location:
> "<unknown>" data: no]
This is due to the fact that you're using [...@title] attribute selector.
This was deprecated back in jQuery 1.2 (released Sept 2007). You
should use [title] instead.
> 2// another selector issue:
> var $allItems = $('div.ds-item', datascape.el);
> (...)
>
> $('*', $allItems).not('p, a,form').show();
>
> triggers this error in firebug:
> Error:
> match[3] is undefined
> http://localhost/dev/_js/jquery-1.3b1.js
> Line 1812
Do you have the HTML for this page? It's not apparent what's happening
from just these lines.
Thanks for your help.
--John
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---