jquery-form/form

Incompatible with jQuery 3 slim build

Open

#541 geöffnet am 22. Feb. 2018

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.199 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (5.209 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Hey there,

I've got the problem with this package while using Jquery 3.2.1. function ajaxForm is giving me an error: Cannot read property 'success' of undefined.

Someone on stackoverflow explained it there: https://stackoverflow.com/questions/45655409/website-using-jquery-form-version-4-2-2-and-jquery-3-

jQuery v3 introduces a lot of sweeping chances: one of which is the removal of the jqXHR.success() callback (it has been deprecated since v1.8, but many authors don't seem to bother to migrate/update). The plugin is obviously not updated to listen to resolution of promise using the jqXHR.done() callback.

Is there any chance to fix this problem?

Thank you ;)

Contributor Guide