jsp 어퍼스트로피 replace

건물명(강남역 I'PARK 1차) 어퍼스토피가 들어있어 에러발생 아래와 같이 처리 replace 사용
<td class="no6_1">
<a href="#RINK" onclick="searchRepSpt('${result.buldMgtNo1}','${result.buldMgtNo2}','${fn:replace(result.buldNm,"'","^")}','${result.address1} ${result.address2}','${result.buldCeo}','${result.buldTelno}'); return false;">${result.buldNm}
</a>
</td>

-------

opener.document.searchVO.buldNm.value = buldNm.replace("^","'");

Popular posts from this blog

youtube download

com.gpki.secureweb.GPKISecureWEBException: ErrCode=1507,ErrMsg=[GPKI_CMS_ProcessEnvelopedData] 해당 인증서로는 데이터를 풀 수 없습니다.

rexpert 공식필드(javascript) 점검일 주기 계산