Tooltips in chosenbox elements

asked 2014-10-28 17:56:44 +0800

eclipse2 gravatar image eclipse2
17 4

I need to implement some chosenboxes to have tooltiptext in the selected elements, like this:


Zk Team, can you extend the chosenbox to allow this behavior? If not, how I can archive this behavior?

Thanks a lot,

Waiting for one reply,

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2014-11-02 10:24:37 +0800

Darksu gravatar image Darksu
1991 1 4

Hello eclipse2,

At your other post I have answered your question.


Hope you will find the information useful.

Best Regards,


link publish delete flag offensive edit

answered 2014-11-13 09:45:52 +0800

eclipse2 gravatar image eclipse2
17 4

If someone is interested, I made one temporary fix, I added the attribute title to the chosenbox tokens, making one override of JS function.

             "function (value) {this.$_createLabel(value);"         +
               "var addedElement = jq(this.$n())"                   +
                   ".find('div.'+this.getZclass()+'-item-content')" +
                   ".filter(function() {return $(this).text() == value;});" +
               "if(addedElement){ "                                 +
                  "addedElement.attr('title', value);"              +
               "}"                                                  + 
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

1 follower



Asked: 2014-10-28 17:56:44 +0800

Seen: 13 times

Last updated: Nov 13 '14

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