onclick="javascript:document.getElementById 추가하는 경우 질문

onclick="javascript:document.getElementById 추가하는 경우 질문

QA

onclick="javascript:document.getElementById 추가하는 경우 질문

답변 2

본문

<input type="button" value="초기화" class="btn_submit" onclick="javascript:document.getElementById('stx').value='';">

 

name="sfl" 의  sfl  값도 지우려면 위 소스를 어떻게 수정해 주어야 하나요? 

 

 

<select name="sfl" id="sfl">
        <option value="wr_subject"<?php echo get_selected($sfl, 'wr_subject', true); ?>>제목</option>
        <option value="wr_content"<?php echo get_selected($sfl, 'wr_content'); ?>>내용</option>

이 질문에 댓글 쓰기 :

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 136
© SIRSOFT
현재 페이지 제일 처음으로