Select与input hidden联合的问题
mint 2005-11-14 10:09:51 我在网页中使用了
<input type="hidden" name="GetAll" id="GetAll">
<select name="_ctl0:AdminContent:AddMusic2_11:lstbSingers" size="4" id="_ctl0_AdminContent_AddMusic2_11_lstbSingers">
</select>
然后,我按一个按钮就执行添加代码:
把select中加上<option>其value为xx,显示的text为yyyy
同时把'xx,yy;'加到<input>中,以便在服务器端处理
现在的问题是,我添加容易.如何点select框中的选项,然后点删除按钮就能删除从select和input中删除选择呢?
js不熟悉,请帮助!