[Proto-Scripty] Re: Dynamic javascripts, IE7 problems...

2008-10-27 Thread kangax
On Oct 22, 5:19 pm, DaveC [EMAIL PROTECTED] wrote: Hi T.J, I'm not able to use the AJAX.Updater because of policy regarding AJAX requests require me to use another ajax. Suffice to say by the time I see the response it's two strings one with HTML and one with JavaScript. Here is the

[Proto-Scripty] Re: Dynamic javascripts, IE7 problems...

2008-10-22 Thread T.J. Crowder
Hi Dave, So in essence, you want to load a page (really a fragment of a page) from the server into a container element and execute the scripts in the page that comes back? Good news: You're working too hard. :-) Prototype will do that for you if you set Ajax.Updater's evalScripts option[1] to

[Proto-Scripty] Re: Dynamic javascripts, IE7 problems...

2008-10-22 Thread T.J. Crowder
Hi, // This kind of script WILL work if processed by Ajax.Updater: [snip] That’s a common trickster, biting beginners in the ankle. So watch out! Thanks for pointing that out. As far as I can tell, that part of the page (for lurkers: it's a quote from the Ajax.Updater page) is incorrect

[Proto-Scripty] Re: Dynamic javascripts, IE7 problems...

2008-10-22 Thread DaveC
Hi T.J, I'm not able to use the AJAX.Updater because of policy regarding AJAX requests require me to use another ajax. Suffice to say by the time I see the response it's two strings one with HTML and one with JavaScript. Here is the path I followed to get where I'm at. The following sample code