Support the ongoing development of Laravel.io →
Requests Input Forms
Last updated 2 years ago.
0
Solution

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(),
Last updated 2 years ago.
0

have you tried using the id as the selector instead of class?

Last updated 2 years ago.
0

Ruk33, you rock! Thanks!

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.