[Proto-Scripty] evalScripts

2010-03-07 Thread bill
The script that loads the div is: function scriptChain (evt, newDivID, chainToProgram, chainFromFormID) { // scriptChain //alert (scriptChain: + newDivID + - + chainToProgram + with + chainFromFormID +); stopBubble (evt); //

[Proto-Scripty] evalScripts and functions

2009-05-25 Thread Michael
I understand how Prototype works with regards to the removal of script tags after evaling the results of an Ajax request. However, I was doing some research and am now starting to wonder why the way I declare functions works. According to the Prototype documentation, you need to declare the

[Proto-Scripty] evalScripts problem

2008-11-13 Thread Ehsun
I've create an Object in my pages script tags, something like this: a = new A(); and when I want to call a method of a in the script which is actually the ajax content (evaluated with .evalScripts) everything is fine. but when the creation and the calling code, both are in the ajax contents