buttons.buttons.titleAttr for tooltip

buttons.buttons.titleAttr for tooltip

bigern70bigern70 Posts: 2Questions: 1Answers: 0

I only want to show a tooltip using buttons.buttons.titleAttr when the buttons is disabled. How is this done?

Answers

  • colincolin Posts: 4,624Questions: 0Answers: 814

    Hi @bigern70 ,

    The tooltip is just an attribute on the element, so you can manipulate it with jQuery's attr method. When you disable the button, you could set the string there, and blank it out when re-enabled.

    If that's not what you're after, we're happy to take a look, but please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

Sign In or Register to comment.