3f1cdba799
Added update_plugins.py which can fetch new plugins from GitHub. New plugins added: zencoding, vim-indent-object, taglist, nginx.vim
18 lines
339 B
Text
18 lines
339 B
Text
$.ajax({
|
|
url: "${1:mydomain.com/url}",
|
|
type: "${2:POST}",
|
|
dataType: "${3:xml/html/script/json}",
|
|
data: $.param( $("${4:Element or Expression}") ),
|
|
|
|
complete: function() {
|
|
${5://called when complete}
|
|
},
|
|
|
|
success: function() {
|
|
${6://called when successful}
|
|
},
|
|
|
|
error: function() {
|
|
${7://called when there is an error}
|
|
},
|
|
});
|