I'm having some problems with jQuery while loading an external page to get some data from mysql. The return var in the function loaded have the right data, but I am assuming it should be in the "d" variable, but it's empty.
This is the way I call the load() to the PHP script.
$("#msj_presupuesto").load("../Content/Scripts/ajax_circulares.php?accion=comprobar_presupuesto",{presupuesto:presupuesto},
function(d){ ... }
postmethod here instead ofloadwhich is basically used to load data from the server and place the returned HTML into the matched element.