« Return to Thread: Improvements in Ajax facilities

Re: Improvements in Ajax facilities

by John Resig :: Rate this Message:

Reply to Author | View in Thread

> This solves the problem of making the scripts globally scoped.

Committed! That's a good fix, makes sense too.

> Does it behave the same in other browsers? Or is it just my browser? Or just
> me :-)

It should behave that way in all of them, since that feature wasn't
implemented, only inline Javascript worked. However, I just committed
a fix that implemented that :-)  Additionally, there is now a new
function:

$.getScript("foo.js");

This loads a script and evals it when it comes in. Thanks for the good
suggestions.

--John

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

 « Return to Thread: Improvements in Ajax facilities

LightInTheBox - Buy quality products at wholesale price!