
<input name="tips" type="text" class="remarks" id="defined_remark" style="width:200px" maxlength="30" />
<select name="tips" id="tips" style="width:100pxmargin-left:10px" onChange="change(this.value)">
<option value="系统评语">系统评语</option>
<option value="A">A</option>
<option value="B">B</option>
</select>
<script>
function change(str){
document.getElementById("defined_remark").value=str
}
</script>
<select name="cc" multiple id="cc" size="5" ondblclick="document.getElementById('b').value=document.getElementById('b').value+this.value"
<option>b </option>
<option>a </option>
<option>d</option>
<option>c </option>
</select>
<input type="text" name="b" id="b">
用个条件语句模式描述一下:if 单选框或复选框(名).value then
text1.Text=单选框或复选框(名).caption
end if
楼主看情况做吧!
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)