Ich möchte wissen, wie zu einem Wert in einem verschachtelten Div jederzeit 1 hinzufügen, wenn das Formular übermittelt wird.Hinzufügen von 1 zum Zeilenwert onsubmit
<form id="form1" name="form1" method="post" action="" class="submit">
<table width="30%" border="0" cellspacing="4" cellpadding="4">
<tr>
<td width="58%"><div class="fav_count">1</div></td>
<td width="42%"><input type="submit" name="button" id="button" value="Submit" /></td>
</tr>
</table>
</form>
<form id="form2" name="form1" method="post" action="" class="submit">
<table width="30%" border="0" cellspacing="4" cellpadding="4">
<tr>
<td width="58%"><div class="fav_count">2</div></td>
<td width="42%"><input type="submit" name="button2" id="button2" value="Submit" /></td>
</tr>
</table>
</form>
<form id="form3" name="form1" method="post" action="" class="submit">
<table width="30%" border="0" cellspacing="4" cellpadding="4">
<tr>
<td width="58%"><div class="fav_count">3</div></td>
<td width="42%"><input type="submit" name="button3" id="button3" value="Submit" /></td>
</tr>
</table>
</form>
<form id="form4" name="form1" method="post" action="" class="submit">
<table width="30%" border="0" cellspacing="4" cellpadding="4">
<tr>
<td width="58%"><div class="fav_count">4</div></td>
<td width="42%"><input type="submit" name="button4" id="button4" value="Submit" /></td>
</tr>
</table>
</form>
hier ist eine Geige
https://jsfiddle.net/fgu42nxr/
Jede mögliche Hilfe bei jquery geschätzt wird. Danke
Wenn _form submitted_, wird Seite'Erhalte umgeleitet/reloaded' daher 'DOM-manipulations' nicht persistent sein .. – Rayon
@RayonDabre richtigen Mann – uzaif