Hello,
I don't know why but :
____
input = 'prototypes'
bool = input.endsWith('n');
bool = bool || input.endsWith('s');
alert(bool);
____
works fine but :
____
alert(input.endsWith('n') || input.endsWith('s'));
____
return me an error (IE6)
What I've do wrong?
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---