<html>
<head>
<meta charset="utf-8">
</head>
<body>
<table cellspacing="0" cellpadding="0" width="100%" border="0" style="margin-bottom: 50px">
<tr>
<td align="left">
<span style="position:absolute;border:1pt solid #c1c1c1;overflow:hidden;width:130px;height:24px;clip:rect(-1px 190px 120px 100px);">
<select name="aabb" id="aabb"
style="width:130px;height:26px;margin:-1px;"
onChange="javascript:document.getElementById('kwUrlFetchCicle').value=document.getElementById('aabb').options[document.getElementById('aabb').selectedIndex].value;">
<option value="" style="color:#c2c2c2;">---请选择---</option>
<option value="1">1天</option>
<option value="3">3天</option>
<option value="7">7天</option>
<option value="15">15天</option>
<option value="30">一个月</option>
</select>
</span>
<span style="position:absolute;border-top:1pt solid #c1c1c1;border-left:1pt solid #c1c1c1;border-bottom:1pt solid #c1c1c1;width:110px;height:24px;">
<input type="text" name="kwUrlFetchCicle" id="kwUrlFetchCicle"
value="--请选择--"
style=" border: 0 none;height: 21px;line-height: 21px;margin: 0; padding: 0;text-align: center; width: 110px;"/>
</span>
</td>
</tr>
</table>
<button οnclick="alert(document.getElementById('kwUrlFetchCicle').value)">获取值</button>
</body>
</html>
文本框加下来框组合
最新推荐文章于 2021-06-03 14:01:52 发布