This is a migrated thread and some comments may be shown as answers.

How do I access the Tooltip (title) property of a RadComboBoxItem in Javascript?

1 Answer 202 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 08 Apr 2014, 08:56 PM
I've created a RadComboBox with a set of RadComboBoxItems that include tooltips.  

I have the combobox's OnClientSelectedIndexChanged set to call a Javascript function.  

Within that function I'm already able to access the selected value and text.

What I can't seem to find is a way in JavaScript to get to the RadComboBoxItem's ToolTip (Or 'title'.  I've already verified that the LI objects have the correct titles.)

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 09 Apr 2014, 05:53 AM
Hi Boris,

Please try the following JavaScript to access the ToolTip of the selected item of a RadComboBox.

JavaScript:
alert("tool tip " + sender.get_selectedItem().get_element().title);

Thanks,
Princy.
Tags
ComboBox
Asked by
Boris
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or