Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. passing value from close event of window

passing value from close event of window

Scheduled Pinned Locked Moved Web Development
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tonymathewt
    wrote on last edited by
    #1

    Is it possible to send and recieve a parameter or value from a window opened from a parent window. I want to set a property to the control that opened up the new window when the new window is closed.

    S M 2 Replies Last reply
    0
    • T tonymathewt

      Is it possible to send and recieve a parameter or value from a window opened from a parent window. I want to set a property to the control that opened up the new window when the new window is closed.

      S Offline
      S Offline
      Sandeep Kumar
      wrote on last edited by
      #2

      tonymathewt wrote:

      Is it possible to send and recieve a parameter or value from a window opened from a parent window.

      Yes,by using javascript class Opener. Example for using Opener Class OpnerWindow

      Regards, Sandeep Kumar.V

      T 1 Reply Last reply
      0
      • T tonymathewt

        Is it possible to send and recieve a parameter or value from a window opened from a parent window. I want to set a property to the control that opened up the new window when the new window is closed.

        M Offline
        M Offline
        Michael Sync
        wrote on last edited by
        #3

        Passing the value from parent window to the popup window window.open("http://yourURL.com/yourpage.aspx?paras=allthingsthatyouwannapass") Passing the value from the popup window to the parent window You can use window.opener (eg. window.opener.document.stockForm.stockBox.value = symbol;) Hope it helps.. As those are very popular questions, there are a lot of articles about this on the net..

        Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) "Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."

        T 1 Reply Last reply
        0
        • M Michael Sync

          Passing the value from parent window to the popup window window.open("http://yourURL.com/yourpage.aspx?paras=allthingsthatyouwannapass") Passing the value from the popup window to the parent window You can use window.opener (eg. window.opener.document.stockForm.stockBox.value = symbol;) Hope it helps.. As those are very popular questions, there are a lot of articles about this on the net..

          Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) "Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."

          T Offline
          T Offline
          tonymathewt
          wrote on last edited by
          #4

          Thank you

          1 Reply Last reply
          0
          • S Sandeep Kumar

            tonymathewt wrote:

            Is it possible to send and recieve a parameter or value from a window opened from a parent window.

            Yes,by using javascript class Opener. Example for using Opener Class OpnerWindow

            Regards, Sandeep Kumar.V

            T Offline
            T Offline
            tonymathewt
            wrote on last edited by
            #5

            Thank you

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups