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 escape characters?
Write a program to exaplain the deferred scripts using event handlers in javascript.
What is string in javascript?
What is event bubbling and capturing in javascript?
What is missing in my code? function numberTally(numList) { var evenTotal = 0; var oddTotal = 0; for (var i = 0; i <= numList.length; i++) { if i % 2 { // i is odd oddTotal += numList[i]; // or oddTotal = oddTotal + numList[i]; } else { // i is even evenTotal + numList[i]; } } alert(oddTotal); return evenTotal; }
What are the different types of errors available in javascript?
Describe what u had done today?
How to create an object in javascript?
What is the use of a set object in javascript?
What is the difference between ‘function declaration’ and ‘function expression’?
What is difference between java and javascript?
How do I open javascript console?