How do I execute some JavaScript that is a string?
function ExecuteJavascriptString() { var s = \"alert(\'hello\')\"; // how do I get a browser to al
eval(s);
But this can be dangerous if you are taking data from users, although I suppose if they crash their own browser thats their problem.