dotar/vim/snippets/javascript-jquery/ajaxpost.snippet

6 lines
150 B
Plaintext
Raw Normal View History

2011-11-17 15:45:33 -06:00
$.post('<+/path/to/file.cgi+>',{
<+<+param1+>: "<+value1+>", <+param2+>: "<+value2+>"+>},
function(){
<+//stuff to do after event occurs;+>
});