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 is the difference between undeclared & undefined?
What is enum data type?
What are the string methods?
How to go next field without filling the text? Which function should we use?
Write a JavaScript function which can take any number of strings as arguments and outputs them as a single concatenated string.
What is the difference between null & undefined?
What would be the result of 3+2+”7″?
What is the difference between var and let?
What is a function constructor?
What's the purpose of javascript?
How can you do a character count in javascript?
What are anonymous functions in Javascript?