Page 1 of 1

Combo boxes

Posted: Thu Jan 08, 2009 11:28 am
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?

Re: Combo boxes

Posted: Thu Jan 08, 2009 12:28 pm
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

Re: Combo boxes

Posted: Thu Jan 08, 2009 12:39 pm
by sergio-pro
hi

I think you need smth like this:

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