javascript无法在Firefox中运行 [英] javascript not working in firefox

查看:76
本文介绍了javascript无法在Firefox中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在申请中使用了露水播放器。我在母版页中插入了该对象。在加载页面时以子格式表示未检测到播放器,并说dewplay()不是函数。



这是我的代码



< script type =   text / javascript > 




var dewp = document .getElementById( dejs);


dewp.dewplay();

v = document .getElementById( <%= txthpos.ClientID%>)。value; // 从中播放刷新页面时的当前位置

dewp.dewsetpos(v);





但如果警报工作正常

解决方案

< blockquote>工具 - >选项 - >内容 - >启用JavaScript


Hi all,
I have used dew player in my application. I inserted that object in my master page. In child form while loading the page the player is not detected and saying dewplay() is not a function.

Here is my code

<script type="text/javascript" >




        var dewp = document.getElementById("dejs");


        dewp.dewplay();

        v = document.getElementById("<%=txthpos.ClientID%>").value;// to play from current position when page is refreshed

        dewp.dewsetpos(v);



but if alert is given its working fine

解决方案

Tools->Options->Content->Enable JavaScript


这篇关于javascript无法在Firefox中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆