0

onEnter and onExit

asked 2005-12-24 17:50:15 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3492077

By: nobody

is there any event handler for onEnter and onExit for TextEdit? or other components?

I have check user guide, but it seems there isn't.




delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2005-12-26 02:20:14 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3492777

By: tomyeh

You mean onFocus and onBlur?

No, we don't support them because we doubt the roundrip from client to server would be acceptable for onfocus and onblur.

Rather, we introduce the concept of client-side action. You might refer to the live demo.

Simply put, you assign an attribute called action for what shall be taken at the client side.

<textbox action="focus: action.show(help1); blur: action.hide(help1)"/>

Note: action.show is a built-in JavaScript function. You you could call your own JavaScript.

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2005-12-24 17:50:15 +0800

Seen: 1,464 times

Last updated: Dec 26 '05

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