$.post, $.get, $.getJSON are the three request methods of jQuery
1. $.get is the get method to submit data, usage: $.get(url,data,callback), for example:
$.get("../saveUser.action" ,{
'userId':123,
'userCode':'123'
},function(data)){}
2. $.post is post submission , generally speaking, it is relatively safe, usage: $.post(url,data,callback), example:
$.post("../saveUser.action",{
'userId':123,
'userCode':'123'
}, function(data)){}
3. $.getJSON is also submitted according to the get method, but $.getJSON supports cross-domain, and its usage is basically the same as $.get and $.post $.get(url,data,callback), example:
$.getJSON("../saveUser.action?callback=?",{
'userId':123,
'userCode':'123'
},function(data)){}