1
This function is not even being called and is giving error. It does not say exactly the error, but it gives error when entering the form:
function ChangeSituacao(){
var vRads = document.getElementsByName('ind_situacao');
for(var i = 0; i < vRads.Length; i++){
alert(vRads[i].checked);
}
The idea go through a collection of Radiobutton and pick up what is checked and then apply the business rule. What is wrong this function?
You’re not shutting down your for
– Leo Letto
.Length
must be in small print... =>.length
.– Sergio