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. Accessing child page function through JavaScript

Accessing child page function through JavaScript

Scheduled Pinned Locked Moved Web Development
javascript
2 Posts 2 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.
  • H Offline
    H Offline
    Hemant Mane
    wrote on last edited by
    #1

    Hi frinds, I am working on a project where i want to access the function of child web page i know if u want to access the function of parent webpage u can access it through window.opener or document.parent But i want to access the function of child form is there any code to access the child form or i can make the object of child form and then access the function. thanks (Hemant U. Mane)

    J 1 Reply Last reply
    0
    • H Hemant Mane

      Hi frinds, I am working on a project where i want to access the function of child web page i know if u want to access the function of parent webpage u can access it through window.opener or document.parent But i want to access the function of child form is there any code to access the child form or i can make the object of child form and then access the function. thanks (Hemant U. Mane)

      J Offline
      J Offline
      JKroschel
      wrote on last edited by
      #2

      when you open a new window using window.open(), you end up naming the window in the second argument. window.open("bob.html", "bobWin", "width=500, height=500") for example creates a new window called bobWin. if you use that instead of "window", you should be able to point to anything there.

      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