Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2008
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Drop Down Lists - Forms

    I want to get a drop list to be able to do input action when seleted. I can do it with buttons, radio's and check boxes.

    However I tried for hours to do it with no luck.

    If anyone can shade any light on this it would be nice. I also can't find an example code of this.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,849
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    I want to get a drop list to be able to do input action when seleted. I can do it with buttons, radio's and check boxes.
    Are you trying to make a <select> tag with options, like one shown at http://www.w3schools.com/TAGS/tag_Select.asp ? If you need to submit your form on selection of an option, add an onchange handler, like
    Code:
    <select onchange="this.form.submit();" action="target.html">
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •