html - Is it possible to have a regular list with
问题描述
解决方案
将代码保存在html文件中,实时测试链接
<div class="comboBox" id="combo">
<select class="selec" id="select" onchange="window.location=this.options[this.selectedIndex].value">
<option value=""><ol><li>Choose site<li><ol/></option>
<option value="https://www.google.com/"><ol><li>google<li><ol/></option>
<option value="https://www.facebook.com"><ol><li>FACEBOOK<li><ol/></option>
<option value="https://www.youtube.com/"><ol><li>YOUTUBE<li><ol/></option>
</select>
</div>
推荐阅读
- javascript - JS Key Event 为什么键码消失了?
- python - 如何使用 python 将 HTML 文件转换为 .msg 文件?
- node.js - 当 NodeJS 与 Python、cURL、
- powershell - 字符串替换在脚本运行时不起作用
- reactjs - React JS:证书密钥“key.pem”无效。加密密钥所需的密码
- c - 平板分配器如何跟踪空闲内存?
- java - Java completableFuture:如何并行化几个 CompletableFuture
- bash - 使用没有 tty 的 heredoc 在 ssh 后获取 bash 提示
- javascript - 在 for.. 循环中推入数组将覆盖它
- javascript - 使用 Redux 无法从 Flatlist 中删除项目