On 22/11/06, Andrea Ercolino <[EMAIL PROTECTED]> wrote:
>
> Dean has devised a way for cloning global JavaScript objects, like Array,
> making it possible to subclass them without interfering with their standard
> instances in the current page.
>
> http://dean.edwards.name/weblog/2006/11/hooray/

To do it in jQuery is pretty simple too:

$("<iframe>").hide().appendTo("body");
var iframe = frames[frames.length - 1];
iframe.document.open();
iframe.document.write("<script>parent.Array2 = Array;<\/script>");
iframe.document.close();

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

Reply via email to