How do I execute some JavaScript that is a string?
function ExecuteJavascriptString() { var s = \"alert(\'hello\')\"; // how do I get a browser to al
Try this:
var script = ""; //using jquery next $('body').append(script);//incorporates and executes inmediatelly
Personally, I didn't test it but seems to work.