Software Archive
Read-only legacy content
17061 Discussions

$.get $.ajax don't working and shutting down the app on Windows Phone

Rodrigo_D_
Beginner
448 Views

Hi,
I'm build a windows phone app, and for test deploy to a phone

This DON'T work: (closed the entire app)

function action() {
    $.get("http://www.domain.com.br/xdk/app.php?action=listar", function(data) {
        $('#results').html(data);
    });

This WORK:

function action() {
    $.get("http://www.listaubirata.com.br/xdk/app.php", function(data) {
        $('#results').html(data);
    });

What's is going on?

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
448 Views

We're trying to figure out precisely what is causing this. One theory is that the version of jQuery used is the source of the problem. Try updating the jQuery library in your app to the most recent version (either 1.12 or 2.2, try both). If you are using App Designer and it automatically added jQuery, you can update it in the project, App Designer should not change the version update.

0 Kudos
Reply