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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. get values with javascript

get values with javascript

Scheduled Pinned Locked Moved ASP.NET
questionjavascript
3 Posts 3 Posters 1 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.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    Hi, I have a pop up page, when i close it, i have to set some values in the parent page, i know, that i ve to set that values with javascript, but my last javascript code doesn`t work, how can i get with javascript the values of the pop up page??? thanks

    A 1 Reply Last reply
    0
    • A Anonymous

      Hi, I have a pop up page, when i close it, i have to set some values in the parent page, i know, that i ve to set that values with javascript, but my last javascript code doesn`t work, how can i get with javascript the values of the pop up page??? thanks

      A Offline
      A Offline
      Abuhijleh
      wrote on last edited by
      #2

      Make a hidden field in the parent, give it some id let say 'XXXXX' now in the pop up page before you call Close function fill the hidden field - hidden field here is just for example, you can use any input field with value attribute - window.parent.document.getElementById("XXXXX").value = 'YOUR VALUE HERE'; // then call close window.close(); enjoy

      I 1 Reply Last reply
      0
      • A Abuhijleh

        Make a hidden field in the parent, give it some id let say 'XXXXX' now in the pop up page before you call Close function fill the hidden field - hidden field here is just for example, you can use any input field with value attribute - window.parent.document.getElementById("XXXXX").value = 'YOUR VALUE HERE'; // then call close window.close(); enjoy

        I Offline
        I Offline
        Irshad Ahmad Sulaimani
        wrote on last edited by
        #3

        Ok.... It works fine if it is an input field with value attribute. but how to achieve this functionality if i've to pass data from popup window to an Infragistics WebEditText control. If any body has worked on it, please reply. Looking impatiently for reply... :sigh: :rolleyes: Irshad A Sulaimani:mad:

        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