Javaphua Blog

BlogJava 首页 新随笔 联系 聚合 管理
  46 Posts :: 5 Stories :: 46 Comments :: 0 Trackbacks

1.
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head>

<body>
<select name="select" style="position:absolute; left: 197px; top: 80px; width: 120px; height: 22px; clip: rect(0 120 22 100)" id="select" onchange="clientUser.value=select.options[select.selectedIndex].text;clientUser.select()">
 <option value="1" selected>aaaaaa</option>
 <option value="2">bbbbb</option>
</select>
<input type="text" style="position:absolute; left: 198px; top: 81px; width: 100px; height: 18px" name="clientUser" value="请选择二批名称" onfocus="this.select();">


</body>

</html>


2.
 <input type="text" style="position:absolute;top: 40px;width: 200px; height: 20px" name="xm" value="" onfocus="this.select();">
        <select name="select" style="position:absolute; top: 40px;width: 220px; height: 22px; clip: rect(0 220 22 200)" id="select" onchange="xm.value=select.options[select.selectedIndex].text;xm.select()">
          <option value="1" selected></option>
          <option value="2"></option>
        </select>

posted on 2006-07-25 14:03 Javaphua 阅读(1577) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: