Intel XDK, jquery-1.11.3.min. js and Ionic.bundle.js conflict

Asked

Viewed 49 times

0

I’m making a select simple, because I’m learning how to use the Intel SDK.

I realized there’s a conflict between the archives:

<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>

Used to search the database and

<script type="application/javascript" src="ionic/js/ionic.bundle.js"></script>

I have no idea what it’s for, but if there’s any use for it....

I discovered this after removing line by line. If I do not put the jquery-1.11.3.min.jsI can’t select if I put that ionic.bundle.js.

What to do in this situation?

If necessary this is my JS used to fetch what I need.

$(document).ready(function() {  

        var operacao = "config";
        $.getJSON("http://meu-site.net/testeConexaoMobileJson.php", {operacao:operacao}, function(json){
            $("#foto").html(json[0].foto);
            $("#nome_da_igreja").html(json[0].nome_da_igreja);
        });


});

1 answer

0


I found out, just use jQuery version 2.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.