I would like to know if it is possible to return the ajax call into a javascript array, rather than a DOM object. The ajax call is returning something like n-tuples of value1-value2, and I would like to iterate over that.
Thanks.
$(function () {
$("#categoria").change(function() {
var id = $(this).val();
alert(id);
vars = load("getcategoria.php", "q="+id); // can I do something like this? how?
});
});