jQueryの3つの要求方式$post、$get、$getJSON


$post、$get、$getJSONはjQueryの3つの要求方式の1、$getはget方式でデータを提出します。使い方:$get(url、data、calback)は、例:
 
$.get("../saveUser.action",{
'userId':123,
'userCode':'123'
},function(data)){}
、$postはpost提出です。一般的には比較的安全です。使い方:ドルpost(url、data、Jgel、24 call back)も、24例です。使い方は$get、$postとほぼ同じです。get、例:
 
$.post("../saveUser.action",{
'userId':123,
'userCode':'123'
},function(data)){}