html select optgroup
- <select id="manager" name="manager" onchange="document.getElementById('hierLabelDiv').style.display = this.options[this.selectedIndex].value=='Other' ? 'block' : 'none'; document.getElementById('ownMgrElm').disabled = this.selectedIndex == 0 ? 'true' : ''; if (this.selectedIndex == 0) document.getElementById('ownMgrElm').checked = ''">
- <option value="">--None--</option>
- <optgroup label="Standard User Fields">
- <option value="Manager">Manager</option>
- </optgroup>
- <optgroup label="Custom User Fields"></optgroup>
- <optgroup label="Other">
- <option value="Other">Create New Hierarchical Relationship Field</option>
- </optgroup>
- </select>
============ 欢迎各位老板打赏~ ===========
与本文相关的文章
- · Kafka 消费者poll配置
- · 蜗牛星际之黑群晖修改SSD中的grub.cfg
- · 免费内网测试 DNS泛域名nip.io/sslip.io
- · kuboard搭建一套微服务+前后端配置
- · 自制一键安装环境oneshell_v1.0.sh
- · kibana6.8.0禁用不用的模块
- · adGuardHome自定义规则
- · 使用tengine代替Nginx
- · nginx添加nginx_upstream_check_module
- · 调用企微接口报403 API Forbiden 无权限 的错误
- · github连接超时:Connection closed by remote host
- · 2023 chatgpt最详细注册流程