블로그 이미지
자료에 문제가 있을 경우, 확인하는대로 삭제처리 하겠습니다. 즐거운 하루 되시길...
05-04 14:17
Total
Today
Yesterday

카테고리

분류 전체보기 (199)
이야기방 (20)
공부방 (173)
개발노트&관련잡다구니 (6)

<html>
<head>
<title></title>
<script>
function checkFile(file)
{
 alert(file.value);
 file.outerHTML = file.outerHTML;
}
</script>
</head>
<body>

 <form>
   <input type="text" name="txtName"><br>
   <input type="file" name="file"><br>
   <input type="button" value=삭제 onclick="checkFile(file);">
   <input type="button" value=확인 onclick="alert(this.form.upload.value);">

</form>
</body>
</html> 

- 되지만 outerHTML에 대해서 조사를 해야 할 것 같음


Posted by 래채
, |