I tend to use the ajax method. But you could write the following.
$.ajax({
type: "GET",
url: "get_availability.php",
data: "to=" + to + "&from=" + from,
success: show_availibility
});
rbaker86
2010-04-28 13:42:15