DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Tim Guest

    Auto present of <select>



    How can I automatically display a <select> dropdown list?

    I want to display the dropdown list on a mouseDown event
    from a different object (an image).


  2. #2
    Dan Guest

    Re: Auto present of <select>

    Use the .click() method on the select object, <a
    href="javascript:void(0)" onClick="document.FORMNAME.SELECTNAME.click()">
    <img src="SOMEFILE" border="0"> </a>

    Dan
    "Tim" <sullivan@maithean.com> wrote in message
    news:3c3cc401$1@147.208.176.211...
    >
    >
    > How can I automatically display a <select> dropdown list?
    >
    > I want to display the dropdown list on a mouseDown event
    > from a different object (an image).
    >




  3. #3
    Tim Guest

    Re: Auto present of <select>



    This generates an onClick event but does not actually present the list.
    I wanted to have the list presented to the user and have the user
    select an item from the list.



    "Dan" <dann@hotpop.com> wrote:
    > Use the .click() method on the select object, <a
    >href="javascript:void(0)" onClick="document.FORMNAME.SELECTNAME.click()">
    ><img src="SOMEFILE" border="0"> </a>
    >
    > Dan
    >"Tim" <sullivan@maithean.com> wrote in message
    >news:3c3cc401$1@147.208.176.211...
    >>
    >>
    >> How can I automatically display a <select> dropdown list?
    >>
    >> I want to display the dropdown list on a mouseDown event
    >> from a different object (an image).
    >>

    >
    >



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