|
-
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, 01: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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks