JQuery .clone() and .appendTo() causing multiple appends
问题 So I've read numerous similar questions and answers - none seem to address this specific issue. So here goes. Consider the following code: <body> <script> function addAttendee() { $('.newAttendee').clone().appendTo('.attendees'); } </script> <form action="test2.php" name="testform" method="post"> <span class="attendees"> <input type="text" name="attendee[0][city]" value="city 1"> <input type="text" name="attendee[0][state]" value="state 1"> <input type="text" name="attendee[0][zip]" value=