hi,

It is easy to start and stop an event in VB by clicking the same button twice...How is it in Javascript?

vb code:
------------------------
timer1.enabled=Not(timer1.enabled)
-----------------------------------
when we press command1 button once timer starts and when we
press it twice timer1 stops

Is it possible in Javascript? does onclick/Unclick evnent work?

thanks