Frage

how can I remove an ajaxForm from the form element so the default action is taken?

$('form').off('ajaxForm')

or

$('form').unbind('ajaxForm')

do not work

initialization was $('form').ajaxForm({...});

War es hilfreich?

Lösung

Try using the ajaxFormUnbind, method provided by the plugin

$('form').ajaxFormUnbind()

Demo: Fiddle

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top