Combo boxes

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
danjoe15
Forum Newbie
Posts: 5
Joined: Tue Jan 06, 2009 8:19 am

Combo boxes

Post by danjoe15 »

I have several drop down boxes like this:
<td><select name="Shipping Method" style="width:200px">
<option <Default>&nbsp</option>
<option <UPS Red>UPS Red</option>
<option <UPS Blue>UPS Blue</option>
<option <UPS Ground>UPS Ground</option>
<option <UPS Mail>UPS Mail</option>
</select></td>


Is there any simple way to change this into a combo box so that it will also allow user input?
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Combo boxes

Post by josh »

Are these pragmatically generated? If not probably regex the HTML and write new code to loop over the regex matches and output new HTML
User avatar
sergio-pro
Forum Commoner
Posts: 88
Joined: Sat Dec 27, 2008 12:26 pm

Re: Combo boxes

Post by sergio-pro »

hi

I think you need smth like this:

http://www.dhtmlgoodies.com/scripts/for ... elect.html
Post Reply