I'm trying to clear / remove all the option tags from a select object / tag using Javascript.Code:for (intCounter=0; intCounter<formName.selectName.options.length; intCounter++) { formName.selectName.options.remove(intCounter); }
As I can't find the equivalent to the vb clear statement, I'm tring the loop above. Has anyone trid this before & suceeded ?
Thanks,




Reply With Quote