View Full Version : How to create options in a dropdown (multi select) using javascript

02-09-2009, 08:17 AM

I have multislect list on my html form which i created using
<select name="cats" multiple='multiple'>
now i want that option in the list should be created using javascript e.g.
<option value='2'>Book</option>.

i want to create just options using javascript not complete <select

Kindly help me if anyone has idea how this can be done.

It is urgent for me.

Thanks in Anticipation


02-09-2009, 11:09 AM
Clickie! (http://www.tek-tips.com/faqs.cfm?fid=4766)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum