dotar/vim/snippets/javascript-jquery/getjson.snippet
2011-11-17 16:00:49 -06:00

6 lines
157 B
Plaintext
Executable File

$.getJSON('<+/path/to/file.cgi+>',{
<+<+param1+>: "<+value1+>", <+param2+>: "<+value2+>"+>},
function(json){
<+//stuff to do after event occurs;+>
});