Oops, I meant to make that:
jQuery.fn.unshift = jQuery.fn.add;

The issue is, however, that fundamentally .push() or .unshift() won't
work as expected, since adding an item to a jQuery object isn't like
adding a item to a normal array. The jQuery object is more like a
'Set' than it is a true 'Array'.

--John

On 10/7/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Hi John!
> > jQuery.fn.unshift = jQuery.fn.unshift;
> >
> What is that supposed to do?
>
> -- Jörn
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>


-- 
John Resig
http://ejohn.org/
[EMAIL PROTECTED]

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

Reply via email to