Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
Hi,
 
My Asp.Net Project hosted in IIS. I am using javascript in my ASP.Net project. It is Running Successfully in IE7, that java Script Functionality is not running in FireFox. I need to run the project in both browsers
 
IF any one know about this tell me.
 
Regards
Nanda Kishore.CH
Posted 1-Aug-12 1:02am
Edited 1-Aug-12 1:22am
v3
Comments
Sandeep Mewara at 1-Aug-12 6:09am
   
This is not a well framed question! We cannot work out what you are trying to do from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information.
 
Apart from code not working in FF, no more information shared.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

you should check CSS in all the browsers and it must be working in all the browsers.Sometimes application display properly in Chrome and moxilla but not displaying properly in IE.it is browser problem.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Yes. You need to fix your script so that it's compatible with firefox. There's nothing else we can tell you without being told what is going wrong, seeing the code, etc.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Check the console in firebug(an addon in firefox). If some javascript error would be their it is a great tool to find out those.
 
After testing improve question with the actual problem.
 
Happy Coding..
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 6

function numericValidation(txtvalue) {
 
var e = event || evt; // for trans-browser compatibility
var charCode = e.which || e.keyCode;
if (!(document.getElementById(txtvalue.id).value)) {
if (charCode > 31 && (charCode < 48 || charCode > 57))
return false;
return true;
}
else {
var val = document.getElementById(txtvalue.id).value;
if (charCode == 46 || (charCode > 31 && (charCode > 47 && charCode < 58))) {
var points = 0;
points = val.indexOf(".", points);
if (points >= 1 && charCode == 46) {
return false;
}
if (points >= 1) {
var lastdigits = val.substring(val.indexOf(".") + 1, val.length);
if (lastdigits.length >= 2) {
alert("Two decimal places only allowed");
return false;
}
}
return true;
}
else {
alert("Only Numarics allowed");
return false;
}
}
}
 
This Javascript code not working in mozilla firefox? please help me
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 5,130
1 DamithSL 4,237
2 Maciej Los 3,700
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,846


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 25 Sep 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100