jQuery dynamically added form element data not sent to database when user is on intranet
问题 I have an interesting problem. I built a form for runners to sign up for a race. The form allows the user to add multiple runners and sign them all up at once. The additional runner functionality is programmed using jQuery. Here is the jQuery that adds additional runners... <script type="text/javascript"> var current= 1; $(document).ready(function() { $("#addrunner").click(function() { current++; $newrunner= $("#runnerTemplate").clone(true).removeAttr("id").prop("id", "fieldSet" + current)