The below script is working Internet browser but not
working in mozilla plz find that good way...
function doSubmit(op){
var rowcount=document.getElementsByName
("parameterTypeId").length;
var parameterGrade;
var performance;
var goal;
if(op == "save"){
for (var i=0; i < rowcount; i++) {
var param=eval("document.forms
[0].parameterGrade"+i);
if(param.value != "select"){
return true;
}
}
alert("Please rate atleast one
attribute");
return false;
}//if ends here
No Answer is Posted For this Question
Be the First to Post Answer
What are the methods of validating whether the form is secure?
How do you send a message to the browser in JavaScript?
Is javascript safe to download?
How to set the cursor to wait in JavaScript?
How to select an element by id and swapping an image?
What is a callback url?
What is difference between api and library?
Can you have a function within a function in javascript?
How much do javascript programmers make?
How to setting a cookie with the contents of a textbox?
How do you write an event emitter base class that allows you to add event listeners?
Javascript, Pass by Value or Pass by Reference?