복습(2)
-
json , ajax
map merge trim parseJSON 중요★★★★ each 100 200 300 400 100 200 300 400 합계 event a b ok ok2 $(function(){ //이벤트 $("#a").one("click", function(){ //이벤트를 한번만 실행 이벤트 실행후 자동으로 off ("click") 됨 console.log("ok"); }) }); $(function(){ //이벤트 $("#a").on("click mouseover", function(){ //이벤트를 한번만 실행 이벤트 실행후 자동으로 off ("click") 됨 console.log(" a 버튼 ok"); }) $("#b").on("click",function(){ console.log("trigger 버튼..
2024.01.15 -
el, jstl
연산 가능 ${"홍길동"} 포준 jsp 태그 : el 태그: ${x } ${10+4 } ${10-4 } ${10/4 } ${10*4 } ${10>=4 } ${10 EL: ${not empty xxx} EL sessionScope: ${sessionScope.x3 } EL session: ${applicationScope.x2.xxx } el : ${param.userid } el : ${param.passwd } ${param.aaa} applicationScope 이름: ${applicationScope.aaa } 이름 aaa: ${aaa } bbb: ${bbb } request 의 이름 : aaa1 aaa2 jstl core 태그의 사용 --if xxx: ${xxx } 홍길동과 같음 홍길동임 유관순임..
2024.01.11