1

calling jquery from java (controller)

asked 2013-07-31 21:34:58 +0800

robertkaren gravatar image robertkaren
77 7

Hi, I am trying to use the jquery function fadeOut() (found in the demo page for jquery effects) but I have to call it from a controller after some processing. I tried this (below) based on how it is called from the zul in the demo but it doesn't work. Error 800 pops up. can someone tell me how it could be called from the controller for this window (id = 'loginWin'). thanks for any help.

Clients.evalJavaScript("jq(this.$f('loginWin')).show().fadeOut()");
delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-08-01 05:58:30 +0800

sjoshi gravatar image sjoshi flag of India
3493 1 8
http://zkframeworkhint.bl...

What about this way to call Jquery method

setWidgetListener("onBind", "jq(this).mask('(999) 999-9999 e 999999');");
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-07-31 21:34:58 +0800

Seen: 42 times

Last updated: Aug 01 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More