Hi Praveen,
I guess onclick() event should really work. Please make sure if you:
* ... reset IIS application pool after you modify any htm template and clean the client app cached files if you change any script file (ctrl+shift+1).
* ... are not modifying htm template when screenset is stored in the database. Check the screenset within Designer.
* ... don't have any mistakes in your script. Test it with simple alert.
Regs, Gytis