반응형



 left와 top 값을 0 으로 주시면 됩니다.





<script language=javascript>


function popConcert(){ 
   noticeWindow  = window.open('http://nibr.go.kr/exhibit/reserve_imsi/reserve_guide.jsp','bluesky','width=700,height=760,top=0,left=200,scrollbars=yes' );
noticeWindow.opener = self;
}
</script>


반응형
반응형

replace 사용하기 string 삭제


var dd = "2017.08"


.replace('삭제문자','변경할문자')

dd = dd.replace('.', ''); 


결과값 

dd ) 201708 로 된다

반응형

'프로그램 관련 > jquery&jsp&HTML' 카테고리의 다른 글

캐쉬 삭제하기  (0) 2018.08.22
팝업창 위치 설정  (0) 2018.08.20
select box disabled 하기 선택안되게하기  (0) 2018.08.16
table 엑셀 다운받기  (0) 2018.08.14
textarea , text글자제한 두기  (0) 2018.08.10
반응형

select box disabled 하기 선택안되게하기



네임 접근

$("select[name=네임]").attr("disabled", true);


ID접근

$("#아이디").attr("disabled", true);



다시 활성화 하고싶을시


$("#아이디").removeAttr("disabled"); 


하시면 됩니다^^

반응형

+ Recent posts