submit을 통해 iframe에 값 전달하기
<iframe id="프레임네임" src="" width="530"> </iframe>
<form name="폼네임">
<input type="hidden" id="id" name="id" value="user1"/>
<input type="hidden" id="password" name="password" value="myNameis"/>
</form>
<script>
document.폼네임.target = "프레임네임";
document.폼네임.submit();
</script>
------------------------------------------------------------------------
<iframe name="iWin" width=500 height=400></iframe>
<script>
function goURL(){
iWin.location.href="aaa.html?year=year&mon=mon;
return false;
}
</script>
------------------------------------------------------------------------
감사합니다.
출처 : http://www.shop-wiz.com/board/view/root/html/tid/35/category/0
출처 : http://egloos.zum.com/yoontaesub/v/124495