I would like to know if it is possible to return an ajax call to a javascript array and not a DOM object. Ajax call returns something like n-tuples value1-value2, and I would like to repeat that.
Thank.
$(function () {
$("#categoria").change(function() {
var id = $(this).val();
alert(id);
vars = load("getcategoria.php", "q="+id);
});
});
nunos source
share