Web Analytics Made Easy -
StatCounter Selecting multiple things in a select box - CodingForum

Announcement

Collapse
No announcement yet.

Selecting multiple things in a select box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Selecting multiple things in a select box

    How do I allow the user to select multiple values in a select box? I have seen this done before where the user can press control and click on extra selections.

    Thanks for the help

    Darksbane

  • #2
    <select type="multiple">

    I believe.
    jasonkarldavis.com

    Comment


    • #3
      Actually its

      <select multiple>

      I tried with the type="multiple" doesn't work but the the way it is uptop works for me just great. So i'm sure it'll work for you Darksbane
      CYWebmaster.com - See why we dot com!!
      ACJavascripts.com - Cut & Paste Javascripts!
      SimplyProgram.com - Personal Blog

      Comment


      • #4
        Originally posted by ACJavascript
        Actually its

        <select multiple>
        Oh yeah - I don't use that widget too often if I hadn't made that clear for my lack of an accurate answer above.

        Anyway, to be XHTML compliant, you'd need to make it:

        <select multiple="mutiple">

        jasonkarldavis.com

        Comment


        • #5
          Cool that works, now just one other question. How do I get the HTTP_POST_VAR to hold all the values selected? Currently it only holds the last value selected.

          Thanks,
          Darksbane

          Comment

          Working...
          X