// 파라미터 하나만 넘길경우
function getDetail(param){
var siteWin=window.open(contextPath+"/pageName.do?param1="+param , "윈도우 이름", "");
var siteUrl = contextPath+"/pageName.do";
if (!siteWin || siteWin.closed ) {
siteWin=window.open(siteUrl+"?param1="+param, "윈도우 이름");
} else{
siteWin.location=siteUrl+"?param1="+param;
siteWin.focus();
}
}
'js' 카테고리의 다른 글
jQuery DataTable Export 내용 조정하기 (0) | 2019.08.20 |
---|---|
jQuery DataTable 각각의 td 정렬 (0) | 2019.08.20 |
날짜 포맷 MM/dd/HH 사용시 포맷맞추기 (0) | 2019.07.04 |
AnimateNumber (0) | 2019.07.03 |
값 체크 Function (0) | 2019.07.03 |