it works means alert ((10).toColorPart() );// gives a message with text "0a"
but var s=10; alert ((s).toColorPart() );// gives even no message, because it is wrong > What do you mean by 'works' and 'doesn't work'? What result are you > getting? > > Colin --~--~---------~--~----~------------~-------~--~----~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---