Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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