87,993
社区成员
发帖
与我相关
我的任务
分享
Java code<%@ page language="java" pageEncoding="GB2312"%>
<HTML>
<HEAD>
<META http-equiv='Content-Type' content='text/html; charset=gb2312'>
<TITLE>可输入的下拉框</TITLE>
</HEAD>
<BODY >
<div style="position:relative;">
<span style="margin-left:200px;width:18px;overflow:hidden;">
<select style="width:218px;margin-left:-200px" onchange="this.parentNode.nextSibling.value=this.value">
<option value="NI11">NI11--苹果</option>
<option value="NI22">NI22--香蕉</option>
<option value="NI33">NI33--橘子</option>
</select></span><input type="text"name="box" style="width:200px;position:absolute;left:0px;">
</div>
</BODY>
</HTML>

