Thursday, November 7, 2013

How to call Simple javascript function in ZK ?

Lots of time developer have a issue how we can call a simple Java Script function in ZK framework .Let Us suppose we have a JavaScript function doSomething() now we have to call this function on some event ,let us suppose below code.

1-Declare below line in your ZUL(Top of the page)
2-Here i called a JavaScript function on Window onClose event

3-Write below JavaScript


No comments:

Post a Comment