S
S
sanex33392015-04-24 12:07:58
JavaScript
sanex3339, 2015-04-24 12:07:58

Why can't cross-site ajax post request work in opera mini?

There is a cross site ajax request that works everywhere except opara mini.

$.ajax({
              url: 'http://test.ru/test.php',
              type: 'POST',
              data: {
                data: 'test'
              },
              dataType: 'json',
              success: function(data) {
                alert(1);
              },
              error: function () {
                alert(2);
              }
            });


Why does the mini request fail in opera and the error function is called? I know that in it all client js is processed not by the browser but on the server, but it seems that ajax is supported in it.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sanex3339, 2015-04-24
@sanex3339

in mini it turns out that cors is not supported =(

6
65536, 2015-04-29
@65536

does opera mini work at all?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question