【发布时间】:2013-01-01 10:38:20
【问题描述】:
我有这个代码:
$("#addbt").click(function () {
$('#choice').clone()
.attr('id', 'choice' + $('.ddl').length)
.attr('name', 'choice' + $('.ddl').length)
.insertAfter(".ddl:last"); });
我是 Jquery 的新手。如何将克隆数停止为特定数字? (比如 10 个)
【问题讨论】: