I made a jquery code like :
$('button').click(function(event) {
});
In it; I put $.post
and sent data to a php file and return table rows. In every rows, there is an 'add' button.
Then I made another jquery code for these buttons like :
$('.row_button').click(function(event) {
});
Again, I put $.post
and tried to send data about that row and wanted to fetch information via ajax request. But it didn't work. Nothing happend. I looked code and there is no error.
Isn't it possible to use ajax within another ajax? Or is there another way? Thank you.