Handle submission of forms created dynamically having same class
- by user1504383
i am creating a form for users to comment on each posts displayed through a loop and the form for commenting is also in the same loop. Now i want each comment to be submitted via jquery ajax but each time its taking into account only the first form . Here is my code:-
while($row=mysql_fetch_array($result))
{ ?>
<?=$row['title']?>
…