'form encoding'에 해당되는 글 1건

  1. 2013.10.24 form encoding 형식 변경

form encoding 형식 변경

ASP 2013. 10. 24. 12:18

contentType : "application/x-www-form-urlencoded;charset=UTF-8;", 

<html>
<script>

function changeEnctype() {
    myform = document.form1;
   
    alert('원래의 enctype: ' + myform.encoding);
   
    myform.encoding="application/x-www-form-urlencoded";   
    alert('디폴트로 변경 enctype: ' + myform.encoding);
   
    myform.encoding="multipart/form-data";
    alert('원래대로 변경 enctype: ' + myform.encoding);
}
</script>
<body>
<form name=form1 method="post" enctype="multipart/form-data">
<input type="button" value="enctype확인" onClick="changeEnctype()">
</form>
</body>

'ASP' 카테고리의 다른 글

폴더검색 fso  (0) 2013.10.24
asp 모든폼 갖고오기  (0) 2013.10.24
Dext sumnail 새창으로 메일 보기  (0) 2013.10.24
FSO 객체(FileSystemObject)  (0) 2013.10.24
새창 프린트 새창으로 메일 보기  (0) 2013.10.24
Posted by 초보용
,