사용자: #374 , #281 에 따른 select_change() 무력화

This commit is contained in:
whitedot
2013-03-12 10:02:18 +09:00
parent a8eb1b657b
commit a04f435851
2 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ $total_page = ceil($total_count / $rows); // 전체 페이지 계산
if (!$page) $page = 1; // 페이지가 없으면 첫 페이지 (1 페이지)
$from_record = ($page - 1) * $rows; // 시작 열을 구함
$group_select = '<select name="gr_id" id="gr_id" title="검색대상" onchange="select_change();"><option value="">전체그룹';
$group_select = '<select name="gr_id" id="gr_id" title="검색대상"><option value="">전체그룹';
$sql = " select gr_id, gr_subject from {$g4['group_table']} order by gr_id ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {

View File

@ -7,13 +7,13 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<legend>상세검색</legend>
<form name="fnew" method="get">
<?=$group_select?>
<select name="view" id="view" title="검색종류" onchange="select_change()">
<select name="view" id="view" title="검색종류">
<option value="">전체게시물
<option value="w">원글만
<option value="c">코멘트만
</select>
<input type="text" name="mb_id" value="<?=$mb_id?>" id="mb_id" title="검색어(필수)" class="fs_input">
<input type="submit" value="검색" class="fs_submit">
<input type="text" name="mb_id" value="<?=$mb_id?>" id="mb_id" title="검색어(필수)" required class="frm_input requird">
<input type="submit" value="검색" class="btn_submit">
</form>
<script>
/* 셀렉트 박스에서 자동 이동 해제