반응형
post
-
JavaScript) 자바스크립트에서 Form데이터 POST전송하기Programming/Etc. 2011. 7. 27. 16:23
출처 : http://stackoverflow.com/questions/133925/javascript-post-request-like-a-form-submit function post_to_url(path, params, method) { method = method || "post"; // Set method to post by default, if not specified. // The rest of this code assumes you are not using a library. // It can be made less wordy if you use one. var form = document.createElement("form"); form.setAttribute("method", method..