> Btw, I find this change very annoying. It has prevented a few projects
> I've touched from upgrading their jQuery version
Matt,
I, for one, don't mind the removal of xpath-y syntax from a CSS
selector engine. Regardless..
Here's a rough monkeypatch that will allow your @ attribute syntax to
work in 1.3+:
(function($){
var oldfind = $.fn.find;
$.fn.find = function(sel){
sel = sel.replace('[@','[');
return oldfind.call(this,sel);
}
})(jQuery);
On Oct 2, 10:26 am, Matt Kruse <[email protected]> wrote:
> My example code uses this selector syntax: t...@class^=child-]
>
> Support for [...@attribute...] has been changed to just [attribute...]
> with jQuery 1.3. Remove the @ and it should work for you.
>
> Btw, I find this change very annoying. It has prevented a few projects
> I've touched from upgrading their jQuery version, because it would
> require going in and fixing lots of code. I wish there was more
> backwards-compatibility!
>
> Matt
>
> On Oct 2, 5:58 am, DBJDBJ <[email protected]> wrote:
>
>
>
> > Matt Kruse has an nice and simple jQuery "ideas page". I could not
> > make it work for me.
>
> >http://dbj.org/h.htm
>
> > The difference is I am using the latest jQuery.And I have also removed
> > some parts from Matt's page.
> > The first example. "Details" Table . My page is (obviously) not
> > working. Why?
> > Link to the Matt's page is there. His page uses (I think) jQ 1.2 and
> > is working.
>
> > Simple Tree View works on both pages.
>
> > Also when using IE the behaviour of my page is much worse.
>
> > Any advice? Idea?
>
> > --DBJ
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---