By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,693 Members | 1,822 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,693 IT Pros & Developers. It's quick & easy.

tooltips help

P: 1
PLEASE HELP WHAT AM I DOING WRONG?

I have an xml list in the format of <COUNTRY value="blah" title="blah">blah blah</COUNTRY>

I have a asp dropdownlist that gets all its content from the extensive xml list and dropdownlist html format is:
Expand|Select|Wrap|Line Numbers
  1. <asp:DropDownList ID="mCOUNTRY" runat="server" Width="205" onmouseover="showHideTooltip()"> </asp:DropDownList>
-----showHideTooltip() below-----
Expand|Select|Wrap|Line Numbers
  1. <script language="JavaScript">
  2.  
  3. function showHideTooltip() 
  4. {
  5. var obj = document.getElementById("mCOUNTRY");
  6. obj.title[obj.selectedIndex].title;
  7. }
  8.  
  9. </SCRIPT>
Jun 6 '12 #1
Share this Question
Share on Google+
1 Reply


Dormilich
Expert Mod 5K+
P: 8,639
and what is that code supposed to do?
Jun 6 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.