想点击时给<embed>中的src动态赋<li>中的值。 如何修改

<!doctype html>







Document
<br> #music{width:700px;height:500px; background:url(&quot;笑脸.jpg&quot;) }<br> #XS{width:500px;height:400px; background:url(&quot;詹姆斯.jpg&quot;)}<br> #GC{width:200px;height:400px;position:absolute;left:510px;top:0px}<br> #GC li{display:none}<br> #BF{width:700px;height:100px;position:absolute;top:409px;}<br> #BF button{ width:50px; height:50px;background:url(&quot;fj (2).jpg&quot;); position:absolute;left:230px ;top:3 0px}<br>
<br> window.onload=function(){<br> var ob=document.getElementById(&#39;bt&#39;)<br> ob.onclick =function (){<br> var lis=document.getElementsByTagName(&#39;li&#39;)</p> <pre><code> for(var i=0;i&lt;=lis.length;i++){ var lj document.getElementById(&#39;Id&#39;).src=lis[i].innerHTML alert(lj) } } } </code></pre> <p>





"Built By Titan - Heart & Soul.mp3"
"Beyond - 光辉岁月.mp3"







https://zhidao.baidu.com/question/569298573.html