SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Oct 2003
    Location
    ireland
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    jscript popup parent

    Help! popup form submitting to parent window
    Hi,

    I have a dynamic page, it's a calander so called calander.asp

    When the page loads it opens a popup window (filters.asp) containing a form that a user can filter different dates with different filters.

    function openpopup(){
    var popurl="filters.asp"
    winpops=window.open(popurl,"","width=400,height=600,scrollbars,menubar,")
    }

    openpopup()


    What im trying to do is get the when the user fills in the form.
    it submits to the calander page, (the parent?)
    <form name="form" method="post" action="calander.asp" target="_parent">


    i want the popup to remain intact.



    when the form is sumbitted it opens a new window behind the filters.asp popup and doesn't filter the correct results.

    sorry i cant post a demo.

    any suggestions?

    many thanks

  2. #2
    SitePoint Zealot webreadyaudio's Avatar
    Join Date
    Sep 2003
    Location
    Wylie, TX
    Posts
    129
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by whiteshadow
    Help! popup form submitting to parent window
    Hi,

    I have a dynamic page, it's a calander so called calander.asp

    When the page loads it opens a popup window (filters.asp) containing a form that a user can filter different dates with different filters.

    function openpopup(){
    var popurl="filters.asp"
    winpops=window.open(popurl,"","width=400,height=600,scrollbars,menubar,")
    }

    openpopup()


    What im trying to do is get the when the user fills in the form.
    it submits to the calander page, (the parent?)
    <form name="form" method="post" action="calander.asp" target="_parent">


    i want the popup to remain intact.



    when the form is sumbitted it opens a new window behind the filters.asp popup and doesn't filter the correct results.

    sorry i cant post a demo.

    any suggestions?

    many thanks

    Try using <script>self.name=var;</script> on the parent page


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •