[mochikit] Re: Executing javascript in an AJAX page

2007-01-23 Thread Aragorn450
Ok, so I modified my _graph.rhtml so that it only outputs JavaScript, and then just loaded that via the DOM into the head of the document. Thanks Tom for your insight, I was just having some issues with understanding what could and could not be done (and you told me that, basically, I couldn't do

[mochikit] Re: Executing javascript in an AJAX page

2007-01-21 Thread Bob Ippolito
The best way to get help is to provide a full example that demonstrates the problem. Without that, you're going to spend countless wasted effort trying to just describe your problem in a way that anyone else really understands it properly. -bob On 1/21/07, Aragorn450 [EMAIL PROTECTED] wrote:

[mochikit] Re: Executing javascript in an AJAX page

2007-01-21 Thread Arnar Birgisson
Please provide us with an example - just the code that loads and the text that you're loading (processed html, not rhtml) and I'll be glad to try and help you out. Arnar On 1/21/07, Aragorn450 [EMAIL PROTECTED] wrote: That of course makes sense and I figured addLoadEvent itself won't work.

[mochikit] Re: Executing javascript in an AJAX page

2007-01-21 Thread Tom W.M.
Aragorn450 wrote: I'm assuming there is something special I need to do to get the JavaScript to properly load once the code gets inserted because I'm fairly sure people do this all the time (get new code inserted and then run JavaScript on that code)? If you're inserting the HTML snipped