묻고답하기

고수님... 검색 부분에 엑스표가 표시되어 글씨가 모두 지워지게 부탁드립니다.

검색을 하고 난 다음 글씨가 길게 남아서 하나씩 지우려하니 불편합니다.

그래서 검색란 부분에 엑스표 부분을 넣어서 한번만 누르면 글씨가 모두 지워지게 가능할까요?

감사합니다.

 

밑은 html 소스입니다.

<meta name="viewport" content="width=device-width, initial-scale=1">

<!DOCTYPE html>

<html lang="en">

    <head>

 

        <meta charset="utf-8">

        <meta http-equiv="X-UA-Compatible" content="IE=edge">

        <meta name="viewport" content="width=device-width, initial-scale=1">

        <meta name="description" content="">

        <meta name="keywords" content=" />

        <meta name="author" content=">

        <link rel="icon" href="favicon.ico">

 

        <title></title>

 

        <!-- Bootstrap core CSS -->

        <link href="css/bootstrap.min.css" rel="stylesheet">

        <link href="css/bootstrap-theme.min.css" rel="stylesheet">

 

        <!-- Custom styles for this template -->

 

        <link href="css/jquery-ui.min.css" rel="stylesheet">

        <link href="css/jquery-ui.theme.min.css" rel="stylesheet">

        <link href="css/jquery-ui.structure.min.css" rel="stylesheet">

 

        <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->

        <!--[if lt IE 9]>

          <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>

          <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>

        <![endif]-->

 

 

 

 

    </head>

 

<body>

 

 

        <div class="container">

            <div class="content">

                <!--            

                            <div class="starter-template">

                                <h1>Bootstrap starter template</h1>

                                <p class="lead">Use this document as a way to quickly start any new project.<br> All you get is this text and a mostly barebones HTML document.</p>

                            </div>

                -->

 

 

 

 

 

<h4></h4>

  <div id="find">

                    <input type="text" class="input-lg" id="autocomplete" placeholder="">

                    <button type="submit" class="btn btn-lg btn-success" id="search">Search</button>

 

 

 

                </div>

 

 

<script language="JavaScript">

var theTarget = "_new";

 

function goThere(){

if(!document.theForm.theMenu.selectedIndex==""){

window.open(document.theForm.theMenu.options[document.theForm.theMenu.selectedIndex].value,theTarget,"");}}

</script>

 

<form name="theForm">

<select name="theMenu" size=1 onChange="goThere()">

  <option selected value="">

 

 

</select>

</form>

 

 

 

 

                <div id="table" style="border:groove">

                    <!--Rezultat pretrage-->

 

                </div>

                <div id="introduction"> 

                    <label class="label label-success" for="intro" id="lintro"></label>

                    <output id="intro"></output>

                

<!--// 카운터-->

 

                <div id="navbar" class="collapse navbar-collapse">

                    <ul class="nav navbar-nav">

                        <!--            <li class="active"><a href="#">Home</a></li>

                                    <li><a href="#about">About</a></li>

                                    <li><a href="#contact">Contact</a></li>-->

                    </ul>

                    <ul class="nav navbar-nav navbar-right">

                        <!--            <li class="active"><a href="#">Home</a></li>

                                    <li><a href="#about">About</a></li>

                                    <li><a href="#contact">Contact</a></li>-->

                        <li><a>words are <span id="wordcount"></span></a></li>

                    </ul>

                </div><!--/.nav-collapse --> 

 

            </div>

        </nav>

 

<!--// 카운터-->

</div>

            </div> 

        </div><!-- /.container -->

 

 

 

 

        <footer class="footer">

            <div class="container col-md-6">

                <p class="text-muted"><center>© E-mail: </a></center></p>

            </div>

        </footer>

 

 

        <!-- Bootstrap core JavaScript

        ================================================== -->

        <!-- Placed at the end of the document so the pages load faster -->

        <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>-->

        <script src="js/jquery-2.1.3.min.js"></script>

        <script src="js/bootstrap.min.js"></script>

        <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->

        <script src="js/ie10-viewport-bug-workaround.js"></script>

        <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->

        <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

        <script src="js/ie-emulation-modes-warning.js"></script>

        <script src="js/jquery-ui.min.js"></script>

        <script src="js/rijecnik.js"></script>

    </body>

</html>

 
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
reco00 xe 서브페이지 mid 값때문에 로그인폼이 안나와요..;;; [1] 2020.03.05 by user
뉴진 메인페이지 로그인을 없애서 관리자 페이지로 못 들어가고있어요 [1] 2020.03.05 by user
good 인트로 페이지를 별도로 제작하는 방법 [4] 2020.03.04 by good
hyun**** 3개 서버 로그인 공유 문의드립니다.  
bumdolee [질문] 글을 쓴 후 등록버튼을 누루면 글 등록은 되는데..... [2] 2020.03.02 by 김수로
옐로미모사 Err : './common/tpl/layout.html'  
홍찬 레이아웃에서 이미지 첨부시 썸네일로 사진 크기 조정  
당나귀 xe1에서 모바일 메뉴 배경색 변경  
karutian 머티리얼 디자인 이렇게는 못하나요 [2] 2020.02.28 by parangee
후레임 업데이트가 안되네요 [2] 2020.02.28 by 후레임
다이돌이 관리자 메일문의 게시판 위젯 스킨 카테고리로 글 등록되게 할려면...  
당나귀 홈페이지의 도메인 앞자리를 바꿀수 있나요? [2] 2020.02.27 by Eloy
당나귀 xe1로 제작한 홈페이지 ip를 어떻게 찾나요?  
똥베이런 선배님들 xe에 대해 공부를 시작하려고 합니다.  
야쿠 모바일 이용시 메인화면 [2] 2020.02.26 by 야쿠
소코반 글 쓸 때 HTML <> 가 사라집니다. [2] file 2020.02.25 by 소코반
프로다이버스사이판 플래닛 스킨 문제 [1] 2020.02.25 by XE
삼다수 스위트모바일(Sweetmoblie) 메인 Content 박스내 위젯 레이어 겹침 현상 문의 좀 드립니다 ㅜ  
흑괭이 다음 중 호스팅 어디가 괜챦을까요? [2] 2020.02.25 by 봄비
도킹맨 이 아이콘 이미지들은 어디에 저장되어있을까요? [2] file 2020.02.25 by 도킹맨
원스데일리라이프 첨부파일 이미지 슬라이드로 표현 [2] 2020.02.25 by 원스데일리라이프
Gambo PHP V7.2 에서 V7.3 변경시 문제 [3] 2020.02.24 by sejin7940
피카소 분류창의 크기를 어떻게 하면 늘릴수 있을까요? [2] file 2020.02.24 by 피카소
봄비 PC 첨부파일 권한, 모바일 첨부파일 권한 [2] 2020.02.24 by 봄비
봄비 게시판 에디터 어떻게 바꾸나요? [1] file 2020.02.24 by 봄비
JW 회원목록 검색 안되는 문제 [10] 2020.02.23 by 봄비
붉은석양 게시판 첨부파일 다운로드는 로그인 반복만 됩니다. [4] file 2020.02.22 by 붉은석양
mediaq**** https 이미지 [4] 2020.02.21 by mediaq****
오드리오 게시판 글쓰기 오류( 소스코드가 출력되요 ) [2] 2020.02.21 by 오드리오
hyosik 아이디/비번 찾기 500에러 페이지 연결