Try changing this:
type: form.attr('method'),
url: form.attr('action'),
data: form.serialize(),
to
type: $(this).attr('method'),
url: $(this).attr('action'),
data: $(this).serialize(),
have you tried using the id as the selector instead of class?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.