【发布时间】:2010-12-29 14:24:04
【问题描述】:
下面的错误如何解决。div应该是表格吗??
<script>
function EvalSound(soundobj) {
var thissound= eval("document."+soundobj);
thissound.Play();
}
</script>
<div id="s_player" style="display:block;width:620px;height:53px;">
<embed src="/media/a.wav" autostart=false width=0 height=0 id="sound1" enablejavascript="true">
<a href="#" onclick="javascript:EvalSound('sound1');"> <b>Play test sound</b></a></td>
</div>
错误是 网页错误详情
用户代理:Mozilla/4.0(兼容;MSIE 8.0;Windows NT 5.1;Trident/4.0;GTB6.6;.NET CLR 3.0.04506.648;.NET CLR 3.5.21022;.NET CLR 2.0.50727;.NET CLR 3.0.4506.2152;.NET CLR 3.5.30729;InfoPath.2;FDM) 时间戳:2010 年 12 月 29 日星期三 14:22:09 UTC
Message: 'undefined' is null or not an object
【问题讨论】:
-
这和jQuery有什么关系?
-
而 真的 它与 jQuery UI 有什么关系?
标签: javascript javascript-events