SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Evangelist
    Join Date
    Jun 2008
    Posts
    455
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Connecting two pages

    Hi guys,

    How do I connect two pages using javascript?
    What I want to do is have a file browser appear in a popup and be able to select the file/image you want and then to have that file/image id/handle fill the a field within a form on another page.

    What I want to do is similar to CKFinder, however, i need it for personal use and potentially commercial use but I can't (well i'm unwilling) to pay for something that I could potentially create myself.

    Cheers,
    Michael.

  2. #2
    SitePoint Member
    Join Date
    Jul 2010
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The popup can communicate with the opening page by referencing parent. E.G.

    parent.formName.formElement.value = '1234'

    Is that what you're looking for?

  3. #3
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,031
    Mentioned
    152 Post(s)
    Tagged
    2 Thread(s)
    For popups you don't use parent but window.opener
    Rémon - Hosting Advisor

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  4. #4
    SitePoint Member
    Join Date
    Jul 2010
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That too Been a while since I've used a traditional popup


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
  •