Usage Note ----------- Do not use both ajaxSubmit and ajaxForm on the same form These functions are mutually exclusive Use ajaxSubmit if you want to bind your own submit handler to the f
?
这段注释是在说明使用ajaxSubmit和ajaxForm两个函数的注意事项。这两个函数不能同时用于同一个表单。如果想要绑定自己的提交处理程序,应该使用ajaxSubmit函数。如果想要让插件管理所有事件绑定,应该使用ajaxForm函数。此外,还介绍了ajaxForm函数可以使用委托,使得表单可以在调用ajaxForm函数之前不存在。
原文地址: https://www.cveoy.top/t/topic/bems 著作权归作者所有。请勿转载和采集!