|
Yes, I know about the sneaky way to use a regular expression in replace, but I (perhaps wrongly) assumed that would be beyond the immediate reach of somebody just learning. Reading the original post again, I can see that he said he is just learning about Prototype, not that he is just learning JavaScript.
Well, I did say it was a simple starter.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
|