tooltips help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • snow4
    New Member
    • Jun 2012
    • 1

    tooltips help

    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:
    Code:
    <asp:DropDownList ID="mCOUNTRY" runat="server" Width="205" onmouseover="showHideTooltip()"> </asp:DropDownList>
    -----showHideTooltip () below-----
    Code:
    <script language="JavaScript">
    
    function showHideTooltip() 
    {
    var obj = document.getElementById("mCOUNTRY");
    obj.title[obj.selectedIndex].title;
    }
    
    </SCRIPT>
    Last edited by Dormilich; Jun 6 '12, 06:08 PM. Reason: Please use [CODE] [/CODE] tags when posting code.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    and what is that code supposed to do?

    Comment

    Working...