Thanks, Peter— didn't actually try your suggestion, but what I need to to dynamically write the JS, insert it into the DOM and have it execute. Assets doesn't look it it would do that, but I could be wrong, I'm not so familiar with that module. I do have a workaround as posted below.
On Apr 2, 8:06 am, Peter Duncanson <[email protected]> wrote: > Have you taken a look at assets in mootools more? > > http://mootools.net/docs/more/Utilities/Assets#Asset:javascript > > That does exactly what you are after. > > Sent from my iPhone > > On 2 Apr 2010, at 18:30, Oskar Krawczyk <[email protected]> > wrote: > > > > > Put up an example onhttp://jsfiddle.netand paste back a link. > > > On 2 Apr 2010, at 18:25, xnau wrote: > > >> I'd like to add that if I do the same thing with a p tag, (just > >> changing 'script' to 'p' in the constructor) it works great in IE. > > >> -- > >> To unsubscribe, reply using "remove me" as the subject.
