Update: I ended up adding this line of code to my script:
jQuery.globalEval = function(){};

I am still interested in advice if there's a better way.


On Oct 11, 10:12 am, Christophe <christophe.humb...@gmail.com> wrote:
> I am using the jQuery load function to grab HTML from other pages. I
> am only interested in the HTML and the scripts in the page are
> irrelevant. How can I skip the scripts eval?
>
> I tried to add a filter but the following doesn't seem to work:
> load("page.html *:not(script)")
>
> I was also considering overwriting the GlobalEval function (I don't
> want to alter the jQuery library itself), but I don't know how to do
> that...
>
> Thanks for your help!

Reply via email to