私はこのコードを持っています:
$("#addbt").click(function () {
$('#choice').clone()
.attr('id', 'choice' + $('.ddl').length)
.attr('name', 'choice' + $('.ddl').length)
.insertAfter(".ddl:last"); });
私はJqueryが初めてです。クローンの数を特定の数に止めるにはどうすればよいですか? (10 とします)