搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

unable to get firefox to run a website http://www.dewittlumber.com/buildestimator.htm this site is html with a javasript running on the server.

  • 3 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

not able to make this web address to work with firefox. This site works correctly with IE8 or IE9 Any suggestions to make it compatible with FireFox.

not able to make this web address to work with firefox. This site works correctly with IE8 or IE9 Any suggestions to make it compatible with FireFox.

所有回复 (3)

more options

Doesn't work for me either, but that isn't surprising considering that Firefox is forced into the Quirks Mode and with the errors on that page.There's at least 4 errors related to JavaScript.
http://validator.w3.org/check?uri=http://www.dewittlumber.com/buildestimator.htm

more options

The question is possibly rather too technical for this forum, although you may get lucky and find an answer.

I assume this is your own website.

If it is a simple problem maybe someone will give you a quick reply. Otherwise I suggest you try elsewhere such as mozillazine http://forums.mozillazine.org/viewforum.php?f=25

(Please post back if you find a solution)

more options

The site tries to refer to the id via var bt=1*document.getElementById("BT").value; , but there is only a name and not an id attribute in the select elements.

This code pasted in the command line in the Web Console (Web Developer > Web Console;Ctrl+Shift+K) should fix this by copying the name attribute to the id attribute.

Paste the code in the command line and press enter.

var s=document.querySelectorAll("select[name]"),i,j=0;for(i=0;S=s[i];i++){if(!S.id){S.id=S.name;j++}}alert(j);

由cor-el于修改