How improve this? I need that my function call only elements of types
"input type:text" and "select"
function isSelected(obj){
if(obj.value != ""){
obj.morph('background:#ced9f9;');
}else{
obj.morph('background:#ffffff;');
}
}
function isSelectedAll(){
var elem = $('formulario').elements;
for(var i = 0; i < elem.length; i++){
selecionado(elem[i]);
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---