Prototype
-
prototype.js 알고 사용하자.Programming/JAVASCRIPT 2010. 5. 6. 10:05
우린 친구 블로그 님의 자료중에서 http://urin79.com/?mid=blog&category=9913&page=3&document_srl=437803 id로 특정 요소 가져오기[#1] 이전의 방법 document.getElementById('foo') 추천하는 방법 $('foo') 폼 컨트롤러의 값을 가져오기[#2] var woot = document.getElementById('bar').value var woot = $('bar').value 추천하는 방법 var woot = $F('bar') 스타일 변경하기[#3]이전의 방법 $('footer').style.height = '100px'; $('footer').style.background = '#ffc'; 추천하는 방법 $('footer')..