Using WP Ajax and jQuery to process multiple forms on the same page?

This isn’t specific to WordPress, but I’ll answer it anyway 🙂

Don’t target the form by id, instead target it by its relationship to the button that was clicked. change:

var str = $("#ajaxForms").serialize();

to:

var str = $(this).parent().serialize();