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

Post New Answer

More JavaScript Interview Questions

How to create array in JavaScript?

0 Answers  


What are self Executing Functions?

0 Answers  


Is array an object javascript?

0 Answers  


why can't we call a static method from a non-static method

0 Answers  


How you will add function as a property in a javascript object? Give an example.

0 Answers  


Which is best for front end?

0 Answers  


What is the difference between ‘var’ and ‘let’ keyword?

0 Answers  


What is javascript used for on iphone?

0 Answers  


What makes a relation a function?

0 Answers  


What is enum data type?

0 Answers  


What is the similarity between the 1st and 2nd statement?

0 Answers  


What is the data type of variables of in javascript?

0 Answers  


Categories