Skip to content

Instantly share code, notes, and snippets.

@decebal
Created December 11, 2012 12:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save decebal/4258064 to your computer and use it in GitHub Desktop.
Save decebal/4258064 to your computer and use it in GitHub Desktop.
js check
$("#countyCheck").change(function() {
$.ajax({
type: "GET",
url: "index.php?page=checkout&action=getcities&countyCheck=" + $(this).val(),
success: function(data) {
//console.log(data);
console.log(data);
$("#cityCheck").html(data);
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment