select选择跳转

2021-8-7 金莎网 CSS

<select name="archive_chrono" onchange="window.location =(document.forms.archiveform.archive_chrono[document.forms.archiveform.archive_chrono.selectedIndex].value);"> <option value="">请选择</option>
<option value="http://www.baidu.com">百度</option>
<option value="http://www.163.com">网易</option>
<option value="http://www.taobao.com">淘宝</option>
</select>

评论(0) 浏览(1241)

Powered by emlog 京ICP备15030633号-2