I've found a solution googling on "eval" which seems to work nicely.
Check the updated test page: http://www.mondotondo.com/aercolino/punchcard/test-getScript-error/index.html Here is the magical function, by Jeff Watkins: /** Execute a script in the global context. This installs all functions defined in this script into the global scope, unless they are explicitly created in different scopes. @param script the source of the JavaScript to evaluate **/ function installScript( script ) { if (!script) return; // Internet Explorer has a funky execScript method that makes this easy if (window.execScript) window.execScript( script ); else window.setTimeout( script, 0 ); } John Resig wrote: > > I've created a trouble ticket for it here: > http://jquery.com/dev/bugs/bug/407/ > > --John > > On 11/17/06, Andrea Ercolino <[EMAIL PROTECTED]> wrote: >> >> Hi everybody. >> >> While developing the PunchCard widget I've found a problem with getScript >> in >> IE7. >> >> If you are interested in helping me, I've isolated the issue here: >> http://www.mondotondo.com/aercolino/punchcard/test-getScript-error/ >> >> Thanks >> Andrea > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/getScript-error-tf2652417.html#a7417397 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/