가능할까요?
그리고 삭제 후 최근 검색어 안나오게 하고 싶은데 어떻게 해야 ㅎ나요?
<input id='name' autocomplete='off'/>이런 코드를 넣으면 된다고 하는데 어디다 넣어야 할지를 모르겠네요.
|
답변 2개 / 댓글 2개
채택된 답변
+20 포인트
2021-04-21 (수) 14:37:27
<form name="fsearchbox" autocomplete="off" ~~~
여기에 넣으셔도 되고
<input type="text" name="stx" id="sch_stx" maxlength="20" autocomplete="off">
여기에 넣으셔도 됩니다.
둘 중 아무 데나 한 번만 넣으세요.
답변에 대한 댓글 2개
2021-04-21 (수) 14:52:35
2021-04-21 (수) 17:08:25
ftp 최상단에 있는 head.php 파일 여신 후에
<form name="fsearchbox" method="get" action="<?php echo G5_BBS_URL ?>/search.php" onsubmit="return fsearchbox_submit(this);" autocomplete="off">
여기에 추가하세요.
혹시 테마 사용 중이시라면
/theme/테마명/head.php
<form name="fsearchbox" method="get" action="<?php echo G5_BBS_URL ?>/search.php" onsubmit="return fsearchbox_submit(this);" autocomplete="off">
여기에 추가하세요.
혹시 테마 사용 중이시라면
/theme/테마명/head.php
2021-04-21 (수) 16:52:19
* /theme/company/head.php
<input type="text" name="stx" id="sch_stx" maxlength="20">
->
<input type="text" name="stx" id="sch_stx" maxlength="20" autocomplete="off">
답변을 작성하려면 로그인이 필요합니다.
<input type="text" name="stx" id="sch_stx" maxlength="20" autocomplete="off">
이건 아마 HTML이죠?
근데 해당 문구가 있는 파일은 css여서 저렇게 넣으면 작동을 안하더라구요.
#hd_sch #sch_stx {
float:left;
width:385px;
height:45px;
padding-left:10px;
border-radius:30px 0 0 30px;
background:#2c2c2c;
border:0;
border-right:0;
font-size:1.25em;
color:#fff;
autocomplete:off}
이렇게 넣었는데 안되네요 ㅠㅠ