:) thanks. the typo was just in my email.. I was using evalScripts in my code.:) __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com On 17-Feb-06, at 2:08 PM, Todd Ross wrote:On 2/17/06, Alex D
On 2/17/06, Alex Duffield <[EMAIL PROTECTED]> wrote:
> I am using the evalScript:true option, and somthing simple like
> alert("foobar") gets triggered in my loaded code, but if I try to define a
> function and then try to call it like
I know you've decided to go another route already, but for wha
Ryan, this I like this solution, as I would much prefer my JS to be in external .js files. assigning the functions to variables also worked great so I heve a few options Thanks! (Thanks to Todd and Gregory as well!!! ) __ Alex Du
Well, for inserting a js file after the
page is rendered, you have to do it with the DOM. But, according to notes in
scriptaculous.js, this does not work in Safari. The way you tried to do it, by
putting the src in your script tag, simply won’t work (evalScripts strips
out the script tags
Somewhere in your process (not sure where
in your specific case)… try doing the following to inject a script
element into the dom, where url is your .js path… This makes that script
file get executed immediately.
var jsScript =
document.createElement("script");
jsScript.setAttribute("t
I working on rebuilding my CMS software using AJAX, and have run into a couple problems I cant seem to find the solution to. I am loading up a new component of my system using the Ajax.Updater, and it loads up the HTML fine but as the component I am loading up is fairly complicated I want to load u