본문으로 바로가기

<script language=javascript>
function sendData(ptip1, ptip2)
{
 opener.document.getElementById('speaker_name').value = ptip1;
 opener.document.getElementById('speaker_id').value = ptip2;

//opener.document.열었던창의 컨트롤 값.value = 전송할값;
 self.close();
}
</script>


<form action=find_speaker.php method=post name=findSpeaker>
<input type=hidden name=hiddenPost value=find>
<input type=text name=find size=10>
<input  type=submit  name=submit value=찾기>


    <td><a href="javascript:sendData('<?=$arrayForResult[name]?>', '<?=$arrayForResult[id]?>')"> <?=$arrayForResult[name]?></a></td>


댓글을 달아 주세요