|
|
@@ -35,8 +35,9 @@
|
|
|
<input type="hidden" name="faqType"/>
|
|
|
<input type="hidden" name="pageNo" value ="1"/>
|
|
|
<input type="hidden" name="pageSize" value ="10"/>
|
|
|
- <input type="text" class="cs_search_input" name="searchTxt" placeholder="검색어를 입력해주세요" maxlength="50"/>
|
|
|
- <button onclick="fnSearchFaq(); return false;">search</button>
|
|
|
+ <input type="text" class="form_control cs_search_input" name="searchTxt" placeholder="검색어를 입력해주세요" maxlength="50"/>
|
|
|
+ <button class="btn_x" type="button" onclick="fnRemoveFaq()"><span>검색어 지우기</span></button> <!-- 210514_ 추가 : 검색어 지우기 버튼 [.btn_x] 추가. -->
|
|
|
+ <button class="btn_sch" type="button" onclick="fnSearchFaq(); return false;">search</button> <!-- 210514_ 추가 : .btn_sch 클래스 추가. -->
|
|
|
<p>찾으시는 문의 내용이 없으시면 1:1 문의를 이용해 주세요.</p>
|
|
|
</form>
|
|
|
</div>
|
|
|
@@ -168,6 +169,12 @@
|
|
|
// $('#btnFaqMore').trigger('click');
|
|
|
fnGetList($('#ulFaqType>li').eq(0).find('a'));
|
|
|
}
|
|
|
+
|
|
|
+ // 검색어 삭제
|
|
|
+ let fnRemoveFaq = function() {
|
|
|
+ $("#faqForm input[name=searchTxt]").val('');
|
|
|
+
|
|
|
+ }
|
|
|
/*]]>*/
|
|
|
</script>
|
|
|
|