-
Prototype ajax evalScripts HOW
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
Similar Threads
-
By LeProgrammeur in forum AJAX
Replies: 3
Last Post: 09-12-2006, 02:31 AM
-
By moetarhini in forum AJAX
Replies: 0
Last Post: 06-14-2006, 06:28 AM
-
Replies: 2
Last Post: 06-03-2006, 07:45 PM
-
Replies: 0
Last Post: 02-09-2006, 02:26 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|