묻고답하기

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

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

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

감사합니다.

 

밑은 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 남기남
a11**** 게시판 비밀글 등록시 관리자 댓글 등록이 안됩니다. [2] 2019.07.23 by a11****
집합론집합론 회원가입 관련 문의합니다. [5] 2019.07.23 by 집합론집합론
74575 메인페이지를 수정하고자 합니다. [2] file 2019.07.23 by 74575
철가면준호 기본 레이아웃 푸터질문입니다 [2] file 2019.07.22 by 철가면준호
PLS 레이아웃 저장시 설정이 다 날라감 [1] 2019.07.22 by 빈터
미스터부엉 레이아웃 추가가 안되요! [1] file 2019.07.22 by DoorWeb
다랑어84420 이미지 삽입기를 통해 이미지 삽입 후 엑박이 뜹니다. [2] 2019.07.22 by SimpleCode
이주연743 Fatal error: Class 'Object' not found in /home/genulee0/public_html/xe/widgets/coinslider/coinslider.class.php on line 263 [3] 2019.07.21 by 이주연743
이주연743 웹사이트가 안되는데 잠깐 봐 주시겠어요? [8] 2019.07.21 by 이주연743
min 데이터이전시 파일명 변경되는 문제 [3] 2019.07.19 by sejin7940
infight**** xe 디버깅 문의 [2] 2019.07.18 by infight****
프리뷰 라이브스포츠방송 설치방법을 알고싶습니다 [1] 2019.07.17 by DoorWeb
보람 레이아웃편집이 안됩니다 [6] file 2019.07.17 by DoorWeb
yu**** xe admin은 접속불가능하고 사이트게시판만 관리할 수 있도록 하는 게 가능한가요? [2] 2019.07.17 by yu****
보람 서버에 설치된 환경을 확인하는 법 [2] file 2019.07.17 by 보람
infight**** 다국어로 작성한 게시판이 메인 페이지에서 안나오는 문제 문의 [4] 2019.07.16 by infight****
yu**** RSS 통합피드 사용체크, 게시판 피드관리 전체공개했는데도 피드기능이 잠겨있다고 뜹니다.  
so****483b1 사이트 메뉴 이름 한글명 입력 오류  
LYG 저작권 관련하여 질문 한가지 드립니다 [5] 2019.07.15 by 봄비
AimJin 스마트폰 네이버어플 브라우저에서만 내용이 안나와요. [1] 2019.07.15 by DoorWeb
MIC 회원그룹지정에서 [1] 2019.07.13 by DoorWeb
MIC default 레이어에서 서브메뉴가 보이지 않습니다. [2] file 2019.07.13 by MIC
행복안락 XEDITION 슬라이드 화면축소해도 이미지 중앙에 놓기 문의드립니다. [6] file 2019.07.13 by DoorWeb
SSUN 게시판에 진행상태를 넣기 [3] file 2019.07.12 by DoorWeb
153 관리자페이지 접속 불가와 게시판 사진 업로드 오류 질문드려요 [8] file 2019.07.12 by 153
희진 안녕하세요 ! 고수분들 한번만 봐주세요 [1] 2019.07.12 by SimpleCode
BJVolvo이현석 회원 정보 관리 애드온 [3] 2019.07.12 by 우주학개론
동혀니 오목 모듈 비싸게 구합니다. [1] 2019.07.11 by sejin7940
Julian 주소 리다이렉션 문제 [5] 2019.07.11 by 우주학개론
희진 안녕하세요ㅠㅠ! 도와주세요 ㅠㅠ [2] 2019.07.11 by 우주학개론