jquery-form/form

js / ajax conflict

MilkyWay997 opened this issue · 0 comments

Hello everyone, I want to change the old template to a new one and when I switch on vendor.js I can not load the tpl file in the editor.
Error:
Uncaught TypeError: $(...).ajaxSubmit is not a function
at HTMLFormElement. (users2.js:254)
at HTMLDocument.dispatch (vendors.min.js:1627)
at HTMLDocument.q.handle (vendors.min.js:1589)

USERS2.JS: 254
$(this).ajaxSubmit({

vendors.min.js:1627
while ((g = f.handlers[d++]) && !b.isImmediatePropagationStopped()) b.rnamespace && !b.rnamespace.test(g.namespace) || (b.handleObj = g, b.data = g.data, e = ((r.event.special[g.origType] || {}).handle || g.handler).apply(f.elem, i), void 0 !== e && (b.result = e) === !1 && (b.preventDefault(), b.stopPropagation()))

vendors.min.js:1589
return "undefined" != typeof r && r.event.triggered !== b.type ? r.event.dispatch.apply(a, arguments) : void 0