146
rated 0 times
[
149]
[
3]
/ answers: 1 / hits: 167733
/ 13 Years ago, wed, february 22, 2012, 12:00:00
I am trying to open a new window from javascript but nothing is being inserted into the html:
var callScriptText = $('#callScriptText').html();
var url = '/Action/CallScript/?callScript=';
// Open the current call script in a new window
var openWindow = window.open(url, 'callScriptPopup', 'width = 500, height = 500');
$(openWindow).html(callScriptText);
Does anyone know why?
More From » jquery