Alexandr Efimenko
Posts: 0
Joined: Wed Jan 21, 2015 12:47 pm

ajax in mobile

help... does not run the following code
$.ajax({
type: "POST",
url: "http://mysite.com/_vk.php",
cache: false,
success: function(html){
$('.ht').html('hi end');
}
});

but when debugging, you can see what is the query...
and the element with the class "ht" is present on the page

Ihor Didevych
Posts: 0
Joined: Wed Nov 19, 2014 7:55 pm

ajax in mobile

Hi Alexandr,

1) you should get an error in the console
or
2) it is because of CORS, thus it will work only on a device or with proxy

Alexandr Efimenko
Posts: 0
Joined: Wed Jan 21, 2015 12:47 pm

ajax in mobile

errors in the console, no, now I'll try to start with device

thank you

Alexandr Efimenko
Posts: 0
Joined: Wed Jan 21, 2015 12:47 pm

ajax in mobile

no, not working on device (((

what is the problem?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

ajax in mobile

Hello Alexandr,

Could you please clarify, do you get it working in a browser with enabled proxy?

Return to “Issues”