質問

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({...});

役に立ちましたか?

解決

Try using the ajaxFormUnbind, method provided by the plugin

$('form').ajaxFormUnbind()

Demo: Fiddle

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top