<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