<li>
<input type="checkbox" name="post_category[]" id="post_category" value="1">
parent1(category_names)
</li>
<li>
<input type="checkbox" name="post_category[]" id="post_category" value="2">
child1 of parent1
</li>
<li>
<input type="checkbox" name="post_category[]" id="post_category" value="3">
child2 of parent1
</li>
類別名稱在樹形視圖中列出。複選框的值包含類的ID在jquery中動態添加節點
問題: * 我需要在此列表中添加類動態 *
我得到new_category的名字,從用戶parent_category_id。 我需要添加類別作爲相同的格式下面的父母
我可以通過了解複選框(即PARENT_ID) – 2010-12-04 17:40:47