- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not able to connect the XDK in phpMyAdmin.
I'm connecting the XAMPP and my port to use 3306.
It is giving error in funcao.js in all places that declare '' $ ''
Follow the code below
$( document ).ready(function() {
var $server;
$server = 'http://localhost:3306/xamp/registro/www';
$('#inclusao').on('click', function(){
$nome = $('nome').val();
$sobrenome = $('#sobrenome').val();
$.ajax({
type: "get",
url: $server+"/conecta.php",
data: "nome="+$nome+"&sobrenome="+$sobrenome+"&acao=inclusao",
success: function(data) {
intel.xdk.notification.alert('Usuario Cadastrado:','Aviso!','OK');
Lista();
}
});
});
function Lista(){
$.ajax({
type: "get",
dataType : 'html',
url: $server+"/conecta.php",
data: "acao=listarusuario",
success: function(data) {
$('#listarusuario').html(data);
}
});
}
Lista();
});
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
------RESOLVED---------
WE HAVE TO DECLARE THAT IN THE HOME
/*jslint browser:true, devel:true, white:true, vars:true */
/*global $:false */
/* jshint strict: false, -W117 */
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page