Share the code
$.ajax({ type : "POST", url : "/ajax_data", data : { name: "John" , time : "2pm" }, beforeSend : function (){ $("#content").html(''); }, success : function(data) { $("#content").html(data); } });
No comments:
Post a Comment