I\'m not sure if this would be the best option.. But I want the option that when the user clicks a button, it will add another div or li.
I am going to allow users to u
You can add a new element to an existing parent like so:
select the element to added the new / to and use .append() $("#id").append("foo"); http://api.jquery.com/append/ Alternatively, you can use the .html() http://api.jquery.com/html/ 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
/ to and use .append() $("#id").append("foo"); http://api.jquery.com/append/ Alternatively, you can use the .html() http://api.jquery.com/html/ 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
.append()
$("#id").append("foo");
http://api.jquery.com/append/
Alternatively, you can use the .html()
.html()
http://api.jquery.com/html/