Fungování této stránky je z důvodu údržby dočasně omezeno. Pokud žádný článek nápovědy nevyřeší váš problém a potřebujete se zeptat na další řešení, napište nám na Twitter @FirefoxSupport nebo Reddit /r/firefox.

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

JavaScript alert() is not working in mozilla 19.0.2.Why?

  • 1 odpověď
  • 6 má tento problém
  • 9 zobrazení
  • Poslední odpověď od cor-el

more options

I have created a .aspx page in it i have added gew javascript function containing alert(). But niether the functions nor the alerts are invoking.why? i have created a javascript function on keypress event as:

function isSpaceKey(evt) {
         //   debugger;
           var charCode = (evt.which) ? evt.which : event.keyCode
           
           if ((charCode < 47 || charCode > 57) &&  charCode != 8) {
               alert("Enter Numeral Values only!");
               return false;
           }
           return true;
       }

and added validation summary in .aspx page enabling its message box if user validation fails . But it is also not working. Before using Firefox i was using IE on which it was working fine. What is the problem? Thanks.

I have created a .aspx page in it i have added gew javascript function containing alert(). But niether the functions nor the alerts are invoking.why? i have created a javascript function on keypress event as: function isSpaceKey(evt) { // debugger; var charCode = (evt.which) ? evt.which : event.keyCode if ((charCode < 47 || charCode > 57) && charCode != 8) { alert("Enter Numeral Values only!"); return false; } return true; } and added validation summary in .aspx page enabling its message box if user validation fails . But it is also not working. Before using Firefox i was using IE on which it was working fine. What is the problem? Thanks.

Všechny odpovědi (1)

more options