0
我的代码为什么网址不会加载
<span id="urlWindow" style="float:right;" value="http://www.mysite.com">Open Url</span>
的sizeUrl有http://www.mysite.com
值,但下面的代码犯规负载
var sizeUrl = $('#urlWindow').attr('value');
newWindow.document.write(
'<html>' +
'<iframe src=" + sizeUrl + " width="100%" height="100%">'+
'</iframe>' +
'</html>'
哪里,因为这一个不
var sizeUrl = $('#urlWindow').attr('value');
newWindow.document.write(
'<html>' +
'<iframe src=" http://www.mysite.com " width="100%" height="100%">'+
'</iframe>' +
'</html>'