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

0

I'm doing a simple select since I'm learning how to use the Intel SDK.

I noticed that there is a conflict between the files:

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

Usedtosearchthedatabaseand

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

I have no idea what it's for, but if it's there for anything ...

I discovered this after removing line by line. If I do not put jquery-1.11.3.min.js I can not do select, if I put this ionic.bundle.js .

What to do in this situation?

If necessary, this is my JS used to find 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);
        });


});
    
asked by anonymous 11.12.2015 / 14:46

1 answer

0

I discovered, just use version 2 of jQuery.

    
11.12.2015 / 16:42