라디오버튼 검색 관련
본문
게시판의 wr_1 값을 라디오로 검색하도록 하려는데
아래와 같이 했습니다. 어디가 잘못 된걸까요???
<div class="board_search">
<form name="fsearch" method="get">
<input type="hidden" name="bo_table" value="free">
<input type="hidden" name="sca" value="<?=$sca?>">
<h3 class="multi_tit">갯수선택</h3>
<input type="radio" name="wr_1" value='5'> 5개
<input type="radio" name="wr_1" value='10'> 10개
<input type="radio" name="wr_1" value='15'> 15개
<input type="radio" name="wr_1" value='20'> 20개
<script>$('input:radio[name=wr_1]:input[value="<?=$_GET[wr_1]?>"]').attr("checked", true);</script>
<select name="sfl" class="hidden">
<option value="wr_subject">제목</option>
<option value="wr_content">내용</option>
<option value="wr_subject||wr_content">제목+내용</option>
<option value="mb_id,1">회원아이디</option>
<option value="mb_id,0">회원아이디(코)</option>
<option value="wr_name,1">글쓴이</option>
<option value="wr_name,0">글쓴이(코)</option>
<option value="wr_1">갯수</option>
</select>
<input name="stx" class="stx" maxlength="15" itemname="검색어" value='<?=stripslashes($stx)?>' style="display:none;">
<input type="submit" value="검색" class="btn_submit">
<input type="hidden" name="sop" value="or">
<input type="hidden" name="sfl" value="wr_1">
답변을 작성하시기 전에 로그인 해주세요.