append new rows and input tags using jQuery
问题 I have a web application that has set to navigate its input fields using Enter key too. In addition, I have a control in my forms that appends new rows to a table that contains my input fields. <select name="more" id="more" style="width:50px"> <option value="0">0</option> <option value="5">5</option> <option value="10">10</option> <option value="20">20</option> </select> And this what I used for appending new rows containing input fields. $('#more').change(function(e) { var current_rows = ($(