Dev/jQuery DIV 태그 클릭하면 DIV 숨기기 프리지앙 2009. 10. 13. 15:53 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko"> <head> <meta http-equiv="Content-Type" content="text/html; charset=euc-kr"/> <title>프리지앙의 jQuery 테스트</title> <script src="jquery.js" type="text/javascript"></script> <script language="JavaScript"> <!-- $(document).ready(function(){ // 페이지가 로딩이 완료되면(이미지제외) $("#hide_div").click(function(){ $(this).hide() ; }); }); //--> </script> </head> <body> <div id="hide_div"> 클릭하면 숨김 </div> </body> </html> 저작자표시 비영리 변경금지 (새창열림)