Check Box in Drop Down list

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
quadoc
Forum Contributor
Posts: 137
Joined: Fri Jul 01, 2005 5:33 pm
Location: Atlanta, GA

Check Box in Drop Down list

Post by quadoc »

Does anyone know how to create a drop down list with check box? I've the following code and need to add the check box next to each item. Please post some tips.

Code: Select all

SELECT NAME="animals">
<OPTION VALUE="d">dog
<OPTION VALUE="c">cat
<OPTION VALUE="s">spider
</SELECT>
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

It wouldn't be a list.. it'd be a DHTML'd div with checkboxes in it.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

User avatar
quadoc
Forum Contributor
Posts: 137
Joined: Fri Jul 01, 2005 5:33 pm
Location: Atlanta, GA

Post by quadoc »

Yes, exactly what I was looking for. Do you have the code you can post it? Thanks...
Post Reply