PLEASE HELP WHAT AM I DOING WRONG?
I have an xml list in the format of <COUNTRY value="blah" title="blah">bl ah blah</COUNTRY>
I have a asp dropdownlist that gets all its content from the extensive xml list and dropdownlist html format is:
-----showHideTooltip () below-----
I have an xml list in the format of <COUNTRY value="blah" title="blah">bl ah blah</COUNTRY>
I have a asp dropdownlist that gets all its content from the extensive xml list and dropdownlist html format is:
Code:
<asp:DropDownList ID="mCOUNTRY" runat="server" Width="205" onmouseover="showHideTooltip()"> </asp:DropDownList>
Code:
<script language="JavaScript">
function showHideTooltip()
{
var obj = document.getElementById("mCOUNTRY");
obj.title[obj.selectedIndex].title;
}
</SCRIPT>
Comment