Hello,
I am having one html combo which is used to generate html form fields. For example if user selects inputbox and click on add link , that form field will be added using javascript DOM(createElement function). Now if user clicks on remove link that field should be removed from the form & that particular field is also restored in combo again at the index which it was previously. I want to reindex the options lets say if user have selected 2nd element from the form it will be removed from the combo & if user removes that element again then it will be restored to 2nd position of that combo and rest of options should be rearranged accordingly. Please help me. Thanks in advance...