<input type="checkbox"> | 姓名 | 性别 |
<input type="checkbox"> | aaa | men |
<input type="checkbox"> | ccc | men |
<button>按钮</button>
<p title="模态框">
内容
</p>
input只能选一项,(第一次)当选择一项点击按钮时弹出模态框p 点击按钮2模态框内容显示,(第二次)当选择另外一项点击按钮模态框弹出,内容消失,如果选择是(第一次)选择的项时,点击按钮模态框内容也是显示的
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
光阴似箭催人老,日月如移越少年。