Monday, August 30, 2010

Ajax call to a method that prints javascript

Programmer Question

Ok,



I have a some javascript code in the database






will that code work if a server side method was called via Ajax call, for example:



$.ajax({
type: 'GET',
url: path + '/doTheJSStuff/',
)};


where the doTheJSStuff is a method that echo/prints the JS code



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails