파코님의 업체 정보 2차 카테고리 utf 에러 수정
[code]
<td ><? if ($is_category) { ?><form name="fcategory" method="get">
<select name=sca onchange="location='<?=$category_location?>&sca='+this.value;">
<option value=''>:: 분류선택 ::</option><?=$category_option?></select>
<select name=wr_9 onchange="location='<?=$category_location?>&sca='+this.form.sca.value+'&wr_9='+this.value;">
<option value=''>:: 분류선택 ::</option><?=$wr_9s;?></select>
[/code]
원본을 아래와 같이 바꾸시면 됩니다.
[code]
<td ><? if ($is_category) { ?><form name="fcategory" method="get">
<select name=sca onchange="location='<?=$category_location?>&sca='+encodeURI(this.value);">
<option value=''>:: 분류선택 ::</option><?=$category_option?></select>
<select name=wr_9 onchange="location='<?=$category_location?>&sca='+encodeURI(this.form.sca.value)+'&wr_9='+encodeURI(this.value);">
<option value=''>:: 분류선택::</option><?=$wr_9s;?></select>
[/code]
카테고리 utf에서 에러나는게 게시물 검색해보고 이리저리 해보고 해서
수정완료하였습니다.
+encodeURI(this.form.sca.value)+ 요 부분을 몰라서 ㅡ_ㅡ; ㅎㅎㅎ
알고보니 간단하네요
<td ><? if ($is_category) { ?><form name="fcategory" method="get">
<select name=sca onchange="location='<?=$category_location?>&sca='+this.value;">
<option value=''>:: 분류선택 ::</option><?=$category_option?></select>
<select name=wr_9 onchange="location='<?=$category_location?>&sca='+this.form.sca.value+'&wr_9='+this.value;">
<option value=''>:: 분류선택 ::</option><?=$wr_9s;?></select>
[/code]
원본을 아래와 같이 바꾸시면 됩니다.
[code]
<td ><? if ($is_category) { ?><form name="fcategory" method="get">
<select name=sca onchange="location='<?=$category_location?>&sca='+encodeURI(this.value);">
<option value=''>:: 분류선택 ::</option><?=$category_option?></select>
<select name=wr_9 onchange="location='<?=$category_location?>&sca='+encodeURI(this.form.sca.value)+'&wr_9='+encodeURI(this.value);">
<option value=''>:: 분류선택::</option><?=$wr_9s;?></select>
[/code]
카테고리 utf에서 에러나는게 게시물 검색해보고 이리저리 해보고 해서
수정완료하였습니다.
+encodeURI(this.form.sca.value)+ 요 부분을 몰라서 ㅡ_ㅡ; ㅎㅎㅎ
알고보니 간단하네요
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 2개