[Javascript] deleting all options

Michael Borchers list at tridemail.de
Wed Feb 1 06:04:18 CST 2006


i dynamically fill a <select> with options depending on an ID given by another <select>.
when i do it twice the first created options still are in the new select.

now i need ans easy function to clear the <select> of all its options.

do i have to count through every option of that select or is there a faster way?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20060201/efbda527/attachment.htm>


More information about the Javascript mailing list