SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Aug 2008
    Posts
    330
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Drop down menu with check boxes

    How do you create a drop down list with check boxes next to items in the list???

    I know you can create a drop down using this format

    <select>
    <option value="Joe Client">Joe Client</option>
    <option value="client list">Andrew Denny</option>
    <option value="Employees">Chris Franks</option>

    <option value="Mary Client">Ben Grossman</option>
    </select>


    AND a check boxes doing this, but how do I combine the two? Is it that complex?


    <form>
    <input type="checkbox" name="vehicle" value="Bike">I have a bike<br>
    <input type="checkbox" name="vehicle" value="Car">I have a car
    </form>

  2. #2
    SitePoint Addict
    Join Date
    Aug 2008
    Posts
    330
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm thinking that I'm going to have to use jQuery for this? That's the vibe that I'm getting from what I've read so far?


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
  •