[jQuery] Re: jQuery include plugin

2007-04-26 Thread Tsz Ming WONG
Hello, If you want to extend your plugin, you might find dojo's implementation is a very good reference: dojo.hostenv.loadUri: Loads JavaScript from a URI and don't forget dj_global.eval() as Christof explained. all from: http://dojotoolkit.org/api -- Best Regards, tszming On 4/26/07, pdp

[jQuery] Re: jQuery include plugin

2007-04-26 Thread Christof Donat
Hi, > I thought that you may find this plugin interesting: > > http://www.gnucitizen.org/projects/jquery-include/ Your code creates a script tag via DOM. That does not work on some Safari Versions. To get around that you have to use a XMLHttpRequest and eval(), which gives you a real pain in y