Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

I'm creating a public website and i have a javascript code that works on all browser except firefox. What should i do?

  • 1 отговор
  • 3 имат този проблем
  • 3 изгледи
  • Последен отговор от philipp

more options

Hi,

I'm creating a public website that has a simple javascript button that will just set an asp.net dropdown value. It works on all browser except firefox...

website: http://healthcareaustralia-web.sharepoint.com/Doctors/DailyShifts1.aspx

So when you click on reset button it doesn't set the dropdowns to ALL

this is the code:

function resetFilters() { var dropdown = document.getElementById('ctl00_PlaceHolderMain_DropDownList1'); var ans = "All"; dropdown.value = ans.value; document.location.href = "/Doctors/DailyShifts1.aspx"; }

Hi, I'm creating a public website that has a simple javascript button that will just set an asp.net dropdown value. It works on all browser except firefox... website: http://healthcareaustralia-web.sharepoint.com/Doctors/DailyShifts1.aspx So when you click on reset button it doesn't set the dropdowns to ALL this is the code: function resetFilters() { var dropdown = document.getElementById('ctl00_PlaceHolderMain_DropDownList1'); var ans = "All"; dropdown.value = ans.value; document.location.href = "/Doctors/DailyShifts1.aspx"; }

Всички отговори (1)

more options

hello, when i test it with current firefox versions, all works as expected: i choose custom dropdown values & select "filter", when i click "reset" next all dropdowns default back to "all" and the list gets refreshed.

maybe try to clear the cache & and reload the page or for other common troubleshooting steps refer to Websites look wrong or appear differently than they should.