This JS function is not working in IE 6 and 7..
[CODE=javascript]
function ValidateRows( checkbox_id ){
if( document.pagefo rm.eval(checkbo x_id).value){
if ( document.pagefo rm.eval(checkbo x_id).checked ){
return true;
}
}
for ( var i=0; i < document.pagefo rm.eval(checkbo x_id).length;i ++ ){
if ( document.pagefo rm.eval(checkbo x_id)[i].checked ){
return true;
}
}
return false;
}
[/CODE]
The error is 'Object does not support this property or method'. The error line number is the first line of the function.
[CODE=javascript]
function ValidateRows( checkbox_id ){
if( document.pagefo rm.eval(checkbo x_id).value){
if ( document.pagefo rm.eval(checkbo x_id).checked ){
return true;
}
}
for ( var i=0; i < document.pagefo rm.eval(checkbo x_id).length;i ++ ){
if ( document.pagefo rm.eval(checkbo x_id)[i].checked ){
return true;
}
}
return false;
}
[/CODE]
The error is 'Object does not support this property or method'. The error line number is the first line of the function.
Comment