D
D
damarkuzz2019-10-17 17:49:53
JavaScript
damarkuzz, 2019-10-17 17:49:53

How to resolve cart and jQuery conflict?

When you click on the link to the "add to cart" button, the product is not added, instead it redirects to another page.
There is an error in the developer console

Uncaught TypeError: jQuery(...).live is not a function
    at HTMLDocument.<anonymous> (magazin.html:323)
    at c (jquery.min.js?ad300e5dd8f4b89f2c520303d0618791:2)
    at Object.fireWith [as resolveWith] (jquery.min.js?ad300e5dd8f4b89f2c520303d0618791:2)
    at Function.ready (jquery.min.js?ad300e5dd8f4b89f2c520303d0618791:2)
    at HTMLDocument.F (jquery.min.js?ad300e5dd8f4b89f2c520303d0618791:2)

One has only to remove the Jquery connection - everything works. Please help resolve the issue.
la-vie-jadan.srv160751.hoster-test.ru/magazin.html

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin, 2019-10-17
@damarkuzz

You can see from the documentation that the live method has been removed from version 1.9. You are using version 3.4.1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question