Created
March 15, 2017 10:09
-
-
Save LarryStanley/6b99057d24e142ce87906416840ed0c9 to your computer and use it in GitHub Desktop.
ajax 基本語法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.ajax({ | |
url: '', | |
type: 'GET', | |
data: { | |
}, | |
error: function(xhr) { | |
alert('Ajax request 發生錯誤'); | |
}, | |
success: function(response) { | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment