分类目录

链接

2019年 1月
 123456
78910111213
14151617181920
21222324252627
28293031  

近期文章

热门标签

新人福利,免费薅羊毛

现在位置:    首页 > Others > 正文
html select optgroup
Others 暂无评论 阅读(329)
  1. <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 = ''">
  2.     <option value="">--None--</option>
  3.     <optgroup label="Standard User Fields">
  4.         <option value="Manager">Manager</option>
  5.     </optgroup>
  6.  
  7.     <optgroup label="Custom User Fields"></optgroup>
  8.  
  9.     <optgroup label="Other">
  10.         <option value="Other">Create New Hierarchical Relationship Field</option>
  11.     </optgroup>
  12. </select>

============ 欢迎各位老板打赏~ ===========

【上篇】
【下篇】

本文版权归Bruce's Blog所有,转载引用请完整注明以下信息:
本文作者:Bruce
本文地址:html select optgroup | Bruce's Blog

发表评论

留言无头像?