Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在带有 php 的选择框中有一个分层数据:
但是当我使用optgroup时,<optgroup>不能有值。有没有办法获得像这张图片一样的分层数据?提前致谢
<optgroup>
Optgroup 也不可选择。
我总是使用缩进 来创建分层选择框。
您已将其标记为 php,但它与 PHP 无关。
Optgroups 没有值 -它们有标签。
你可能想检查phplm