/    Sign up×
Community /Pin to ProfileBookmark

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:
[url]http://www.whatever.com/form-with-frames.html[/url]
— 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?

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@KorDec 18.2009 — 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
Copy linkTweet thisAlerts:
@AzevedoauthorDec 18.2009 — Thanks Kor.

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

Success!

Help @Azevedo spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.8,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...