doeslocationofe.preventDefault()matter我在我的jquery函数中使用preventDefault()来防止提交按钮以正常方式提交。preventDefault()的位置是否重要。它必须先出现还是可以是函数中的最后一件事?不,没关系:https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault这与返回false不同,因为当你返回时,函数中的所有其他内容都将被放弃。如上面给出的MDC链接中所说:CallingpreventDefaultduringanystageofeventflo