...

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



garrisonian14
02-09-2009, 09:17 AM
Hi,

I have multislect list on my html form which i created using
<select name="cats" multiple='multiple'>
</select>
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

Ali.

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum