Forum Moderators: open
function Show(result) {
if(result.success){
//$('#div').html(result.msg); $('#div').html('<script language='javascript' type="text/javascript" src="path/to/js">'); //clears everything in the page and just display the js output
//this is what I js is printing
$('#div').html('<script language='javascript' type="text/javascript">document.write("hello")</script>');
}
}
The problem seems in jquery, any help would be much appreciated.
Thanks