프레임(Frame), 타겟(Tartget), 윈도우URL처리법
프레임을 쓰실때 생각할 것 세가지 1. frame_name.location = ‘url.php’; 또는 frame_name.location.href = ‘url.php’; 또는 frame_name.location.replace(‘url.php’) 2. parent.frame_name.location = ‘url.php’; 3. opener.parent.frame_name.location = ‘url.php’; 새창을 열게해준 창의 주소를 바꾸고 새창을 끈다. <script> opener.location.href = ‘url.php’; self.close(); </script> 새창을 열게해준 창의 주소를 새로고침하고 새창을 끈다 <script> opener.location.reload(); self.close(); </script> 다른 프래임의… Read More »