jquery ajax, $.get(), $.post() 사용방법
[ajax] $.ajax({ type: 'POST', url: url, data: data, success: success, dataType: dataType }); [get, post] $.get("test.php"); $.get("test.php", { name: "John", time: "2pm" } ); $.get("test.cgi", { name: "John", time: "2pm" }, function(data){ alert("Data Loaded: " + data); }); $.get('ajax/test.html', function(data) { $('.result').html(data); alert('Load was performed.'); }); var jqxhr = $.get("exam..
2014. 4. 20.
Copyright ⓒ SmartWeb All rights reserved.