文本框加下来框组合

<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>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值