我正在尝试从javascript打开一个新窗口,但是没有任何东西被插入到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);
有人知道为什么吗?
https://stackoverflow.com/questions/9399354
复制相似问题