-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have an interesting problem. I am tasked with making a javascript function call to zk. The reason why, we have a flash player embedded in the application and it will have a button that gets clicked when the video is over. From that button click in the flash player I am to update some data. I have a javascript/ajax function of this working with dwr, but we need it to work with zk since the rest of the site is built in zk and we don't want to add other technologies if we don't have to.
The simplest way to achieve this is have a hidden textfield in the page with ZK. From flash set the textfield's value and invoke blur() on the textfield. That will trigger regular zk's event mechanism and sends data back to server.
awesome, thanks for the tip.
Asked: 2010-01-28 15:56:57 +0800
Seen: 230 times
Last updated: Feb 01 '10