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

6 lines
150 B
Plaintext
Executable File

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