by gdelamarre » Fri Feb 16, 2007 11:57 pm
fmisondemand,
yes, i've found a solution that allows to execute, as far as i know, every javascripts you can embed. It stills one limitation, as described in prototype doc, on which i've based my workaround :
you have to declare your functions as follow :
foo = function(bar)
and not
function foo(bar)
and you can't use the var keyworf if you want to share global variables between a script loaded normally and another loaded after an Ajax request.
This can be boring if you use third party libs, that don't observe these syntaxes.
If interested, please reply or mail me, because i don't have my code right now.