filling fields from pop up window

Discussion in 'JavaScript' started by dizyn, Nov 4, 2008.

  1. #1
    I open a pop up window using javascript, I want to fill the form in the parent window on click of that pop up window using javascript.

    Here is pop up window code, now on click on pop up window I want to fill form in parent window, how can I do this?
    
    <script type="text/javascript">
    function openPopup(url)
    {
    	window.open(url, "popup_id", "scrollbars,resizable,width=400,height=400");
    	return false;
    }
    </script>
    <a href="aircodes.php" onclick="return openPopup(this.href);">Airport Code</a>
    Code (markup):
     
    dizyn, Nov 4, 2008 IP
  2. S_M

    S_M Banned

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi

    I am not having so much knowledge of Javascript.if u find the answer also tell me

    Thanks
     
    S_M, Nov 5, 2008 IP