he colocaldo el metodo jQuery.noConflict(); para evitar problemas de esas 2 librerias.pero aun asi no funciona ljqueyr con ajax.
me pueden orientar en ello por favor ?.
Código HTML:
Ver original
el jquery ajax.
Código Javascript:
Ver original
function login(){ $.ajax({ url: "login.php", type: "GET", beforeSend: function(){$("#customer_login").hide("fast");}, //show loading just when link is clicked complete: function(){ $("#customer_login").show("fast");}, //stop showing loading when the process is complete success: function(datos){ $("#customer_login").show("slow"); //animation $("#customer_login").html(datos); } }); } function validar_login(){ var username = document.getElementById('username').value; var password = document.getElementById('password').value; $.ajax({ contentType: "application/x-www-form-urlencoded", url: "validar.php", type: "POST", data: "submit=&username="+username+"&password="+password, beforeSend: function(){$("#customer_login").hide("fast");}, //show loading just when link is clicked complete: function(){ $("#customer_login").show("fast");}, //stop showing loading when the process is complete success: function(datos){ $("#customer_login").show("slow"); //animation $("#customer_login").html(datos); } }); }