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.
divタグにあるすべてのチェックボックスをチェックしたい私のコードは以下の通りです。
<div id="cBoxes"> <li><input class="radio" name="list" id="list" type="checkbox" value="<?php echo $resultPages['id'];?>"></li> </div>
このコード全体を php タグを使用して for ループに入れました。このタスクを達成する方法はありますか。