kelemen
06-19-2006, 09:56 AM
Hi
Im working with prototype 1.4.0
On the client side there is an Ajax.PeriodicalUpdater with evalScripts: true
and there is an servlet who responds to the client.
The servlet sends a javascript code but it wont be evaluated.
This is the servlet code:
out.println("alert(\"Hello\");"
and the client's code:
var myAjax = new Ajax.PeriodicalUpdater('example',
url,
{
method: 'get',
parameters: pars,
evalScripts: true
},1,1);
thanks in advance
Viktor
Im working with prototype 1.4.0
On the client side there is an Ajax.PeriodicalUpdater with evalScripts: true
and there is an servlet who responds to the client.
The servlet sends a javascript code but it wont be evaluated.
This is the servlet code:
out.println("alert(\"Hello\");"
and the client's code:
var myAjax = new Ajax.PeriodicalUpdater('example',
url,
{
method: 'get',
parameters: pars,
evalScripts: true
},1,1);
thanks in advance
Viktor