Php post not getting the html input element value which append by jquery
问题 I have page which user can add date range from, to and price. By default there is three, but user can add more ranges using the add date range button button. My problem is, after adding a few extra date ranges when I get the $_POST value it is not showing the appended html element's post values. javascript part var n = 0; $(document).ready(function () { $("#btn2").click(function () { $("#add_drange").append(" <p><input type='text' name='from" + n + "' class='datepicker' placeholder='From' />