Skip to content

Instantly share code, notes, and snippets.


conanak99/ajax_callback.js Secret

Last active Jun 22, 2016
What would you like to do?
// Truyền callback vào hàm ajax
var callback = function(image){
ajax.get("", callback);
// Có thể viết gọn như sau
ajax.get("", function(image) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment