Hi,
I have ASP.net Dropdown.The dropdown is too small to display full text the user selected. So i decided to show tooltip.In tooltip i need to display currently selected Text.
ApplyToDropDown.Attributes.Add("onMouseOver", "ShowApplyToText()");
function ShowApplyToText()
{
var ApplyToDropDown = document.getElementById("ApplyToDropDown");
if(ApplyToDropDown != null)
ApplyToDropDown.ToolTip = ApplyToDropDown.selectedText; // line 5
}
But i am not getting an output.I also tried ApplyToDropDown.title it also didn't work.
plz help me on this.