Stuff
public text v1 · immutablewindow.onload = function(){
var inputs = document.getElementById("formulario").elements;
for(i=1; i<inputs.length; i++){
//alert(inputs[i].name);
id = "liquido"+i+"";
//alert(id);
//why this does not work
if(inputs[i].name == id){
alert(id);
}
//what's the different with this way
if(inputs[i].name == "liquido1"){
alert(id);
}
}
}