Since I don't typically do JS at all, I'm pretty limited in what I can have to say. Pros: DOM capable, event driven, object based language. Cons: Requires a ECMA script compatible environment, performance is directly hinged on client.
Have a look at
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
I suppose this thread was just an attempt to spam the forum. If there is no substantial reply from the OP within one week I’m gonna delete that thread.