This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Caută ajutor

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

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

  • 1 răspuns
  • 6 au această problemă
  • 9 vizualizări
  • Ultimul răspuns de 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.

Toate răspunsurile (1)

more options