Hi friends,
How are you? I hope that everything is OK...
My question is such:
How can i do it using for statement(iteration) for the following code:
if (document.getElementById('classPropertyList[1].oracleType.id').value == -1) {
alert(document.getElementById('classPropertyList[1].oracleType.id').value);
return false;
} else {
alert(document.getElementById('classPropertyList[1].oracleType.id').value);
return true;
}
}
example for source code:
name="classPropertyList[1].oracleType.id".........value="-1"
..............................................................................
name="classPropertyList[17].oracleType.id".........value="16"
....................etc...............................................
Gratitudes at first!


Reply With Quote
Bookmarks