W
W
wolfak2014-02-20 19:37:27
JavaScript
wolfak, 2014-02-20 19:37:27

Why, when developing in the market mode on JS, after connecting the library, jQuery does not work and ajax does not work?

When developing in the market mode on JS, after connecting the library, jQuery does not work and ajax requests of the form do not work:

$.ajax({
type: "POST",
url: "..",
data: "text=" + '1',
success: function (html) {
..
}
});

How to solve this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Kitmanov, 2014-02-21
@k12th

Most likely, XHR is blocked in this environment (other APIs are used).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question