Can you post your full code? The major change was the destructive
methods in jQuery are no longer destructive - meaning that you may not
need .end() anymore.

--John

On 1/31/07, Mark D. Lincoln <[EMAIL PROTECTED]> wrote:
>
>
>
>
> All,
>
>
>
> Can someone please explain the change that was made to JQuery that made the
> end() method function differently between version 1.0.4 and version 1.1.1?
> I have some code that I uses the end() method to "revert" the JQuery object
> to the previous object and it no longer seems to do that.  Previously, I
> could do something like:
>
>
>
> jQ.end().filter( "new filter" );
>
>
>
> and the jQ object would have reverted to the previous JQuery object with the
> new filter.  Now, to get the same effect, I have to do the following:
>
>
>
> jQ = jQ.end().filter( "new filter" );
>
>
>
> This seems to work, but is there a better way to handle this?
>
>
>
> Mark D. Lincoln
>
>
>
> Mark D. Lincoln, Director of Research & Development
>
> Eye On Solutions, LLC
>
> (866) 253-9366x101
>
> www.eyeonsolutions.com
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to