ajaxdemo a demo for ajax the ajax can support get and post ; api: url:'url', method:'', dataType:'json', successs:function(){ }, error:function(){ } });