본문 바로가기

Radio

(3)
스프링 뷰, 타임리프 form 과 결과 View 에 사용된 타임리프 항목이, View 를 호출한.. Controller 의 Model 에 담기지 않았거나 Controller 의 파라미터에 JavaBeans 객체 형태로 전달되지 않았다면, Whitelabel Error...Could not parse as expression... ...Exception evaluating SpringEL expression... 다만, 값이 null 이라도 에러가 발생하지 않음. Controller 의 자바빈즈 파라미터에 ObjectA objA 가 사용되었다면, Controller 안에선 'objA' 로 사용되고.. View 에선 'objA' 가 아니라 'objectA ' 형태로, 클래스명의 첫번째 문자를 소문자로 바꾸어 사용. Controller 의 자바빈즈..
[모음글] Type http://findfun.tistory.com/422 아래와 같이 type 을 체크할 수도 있다. $('input[name="name1"], select[name="name1"], textarea[name="name1"]').each(function(){ var t1 = this.type; if(t1=='text'){ alert(t1); }else if(t1=='hidden'){ alert(t1); }else if(t1=='radio'){ alert(t1); }else if(t1=='checkbox'){ alert(t1); }else if(t1=='image'){ alert(t1); }else if(t1=='select-one'){ alert(t1); }else if(t1=='textarea'){ al..
[모음글] jQuery 로 form validation 요소 제어, input/select/textarea o jQuery Form Validation 세세한 조정이 필요한 것이 아니라면.. http://mytory.co.kr/archives/195 o select- $('... > option ...') 과 $('... option ...') 차이는.. 만약 select 가 하나 뿐이면 차이 없음, option 앞에서 딱 하나의 element 가 주어지면 차이 없음. 다만, option 을 갖는 select 가 여럿일 때는 차이가 있음.. - select 태그의 option 조정 http://ddoong2.com/386 - $('... select > option:selected').val(); 와 $('... select').children('option:selected').val() 은 동일 $('.....