look, it is like:

Var s= 10;
alert(s.toColorPart()); // it works and prints 0a

var a = $('valuesList').value;
alert (a); //  prints 10 as in the textbox

alert(a.toColorPart()); // does not work

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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to