www.webdeveloper.com
Results 1 to 3 of 3

Thread: Child Fields - No solution found

  1. #1
    Join Date
    Dec 2009
    Posts
    3

    Exclamation Child Fields - No solution found

    Hey everyone,

    Well, I built a local html page wich loads a popup containing a online hosted web page. This popup contains frames and a form field I want to fill out via JS.

    The idea goes like that:
    File:///c:\auto-fill.html
    - loads an external page in pop up:
    -- http://www.whatever.com/form-with-frames.html
    --- how to fill this form from the autofill.html JS code.

    I tried:
    my_popup.document.frame2.form1.filedX.value='anything';
    but won't work.
    I googled all over for a solution but found nothing.

    Any ideas?

  2. #2
    Join Date
    Dec 2003
    Location
    Bucharest, ROMANIA
    Posts
    15,428
    No way with javascript only, because the pages belong to different domains. There might be a combined solution AJAX+server-side application, but that means you need to install and run a server on your machine

  3. #3
    Join Date
    Dec 2009
    Posts
    3
    Thanks Kor.

    I'll look for a different form filling automation method.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles