added jquery get request

This commit is contained in:
Lukas-Heiligenbrunner authored and GitHub committed 2019-01-24 14:09:30 +01:00
1 parent 04d086b8d3
commit 1dc1469b23
1 file changed
+6 -2
+6 -2
View File
@@ -3,7 +3,6 @@
'prefix': 'click jquery'
'body': """
$('$1').click(function() {
});
"""
@@ -11,7 +10,13 @@
'prefix': 'post jquery'
'body': """
$.post('${1:src}','${2:action}',function(data){
},'text');
"""
'jquery get request':
'prefix': 'get jquery'
'body': """
$.get('${1:src}',function(data){
},'text');
"""
@@ -19,6 +24,5 @@
'prefix': 'ready jquery'
'body': """
$(document).ready(function() {
});
"""