f5是一个html上传控件
var urlvalue4=document.all.f5.value;
var str='<object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" type="application/x-oleobject" hspace="0" standby="Loading Microsoft Windows Media Player components..." id="NSPlay"><param name="FileName" value="'+urlvalue4+'" ref></object>';
document.getElementById("div4").insertAdjacentHTML("beforeEnd",str);
alert(document.getElementById("div4").innerHTML);弹出来的只有<object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" type="application/x-oleobject" hspace="0" standby="Loading Microsoft Windows Media Player components..." id="NSPlay<object>没有<param name="FileName" value="'+urlvalue4+'" ref>是怎么回事啊?
var urlvalue4=document.all.f5.value;
var str='<object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" type="application/x-oleobject" hspace="0" standby="Loading Microsoft Windows Media Player components..." id="NSPlay"><param name="FileName" value="'+urlvalue4+'" ref></object>';
document.getElementById("div4").insertAdjacentHTML("beforeEnd",str);
alert(document.getElementById("div4").innerHTML);弹出来的只有<object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" type="application/x-oleobject" hspace="0" standby="Loading Microsoft Windows Media Player components..." id="NSPlay<object>没有<param name="FileName" value="'+urlvalue4+'" ref>是怎么回事啊?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货