php - Posting Values of select box and hidden fields With Ajax on select box change -


i having form in table select box in each row carrying different information hidden field in each row obtained database in php, while selecting of option of select box should redirected page hidden field in row , selected value of select box

<table border="1px solid black"> <tr><th>id</th><th>name</th><th>sub</th><th>action</th></tr> <tr><td>1</td><td>mamta</td><td>php</td><td><form method="post" action="form.php"> <select name="workno"> <option value="">--select---</option><option value="1">1</option> <option value="2">2</option></select>          <input type="text" name="counter" placeholder="hidden field"> <input type="text" name="counter" placeholder="hidden field"> <input type="text" name="counter" placeholder="hidden field"> <tr><td>2</td><td>shipra</td><td>php</td> <td><form method="post" action="form.php"> <select name="workno"> <option value="">--select---</option><option value="1">1</option><option value="2">2</option></select>          <input type="text" name="counter" placeholder="hidden field"> <input type="text" name="counter" placeholder="hidden field"> <input type="text" name="counter" placeholder="hidden field"> 

how can using ajax, here fiddle link


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -