Como abrir uma nova janela e inserir html nela usando o jQuer
Estou tentando abrir uma nova janela do javascript, mas nada está sendo inserido no 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);
Alguem sabe por quê