I have added user drfined javascript file in my project and write a user define javasript function in that file
function onlyNumbersWithDot(evt) {
var e = event || evt; // for trans-browser compatibility
var charCode = e.which || e.keyCode;
if (charCode == 46)
return true
if (charCode > 31 && (charCode < 48 || charCode > 57))
return false;
return true;
}
this function works in google chrome but does not works in firefox
other javascrip runs but this fuction does'nt work
I want run this fumction forcly in mozila firefox