DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Thread: ASP Tooltip

Hybrid View

  1. #1
    Rachel Guest

    ASP Tooltip


    How do I create a tooltip for a listbox?
    I'm able to create a tooltip for a command button like this:
    <input type="Button" name="edit" value="Edit" onclick="EditAreaCheck()" title="Click
    here to edit your selected area">

    But how do I code it in this chunk of code for example?
    <select name="cboGIAreas" onchange="sendQual('giarea')">
    <%If Session("order") > 0 Then%>
    <option value = "<%Response.Write sGIArea%>" selected><%
    Response.Write sGIArea%>
    <%Else%>
    <option value = "default" selected><<<<<<<< please select a GIArea
    >>>>>>>>>>>>>>>>

    <%End If%>
    <%For x = 0 To Ubound(GIAreas) - 1%>
    <option value ="<%Response.Write GIAreas(x)%>"> <%Response.Write
    GIAreas(x)%>
    <%Next %>
    </select>

    This is driving me crazy. Any help greatly appreciated!

  2. #2
    Bullschmidt Guest

    Re: ASP Tooltip


    Rachel,

    Perhaps change:
    <select name="cboGIAreas" onchange="sendQual('giarea')">

    To be this instead:
    <select name="cboGIAreas" onchange="sendQual('giarea')" title="blah blah
    blah">

    And if that doesn't work, then try putting the whole select code within a
    td and use the title on that:
    <td title="blah blah blah">

    Best regards,
    -Paul
    Web Database Developer
    To help you put live data on the Web...
    www.Bullschmidt.com

    >This is driving me crazy. Any help greatly appreciated!



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links