/    Sign up×
Community /Pin to ProfileBookmark

Frame content controlling

Hello, I am reading and learning about JavaScript language, but couldn’t have found any informations about frames controling. I am not sure whether my problem can be resolved using JavaScript, maybe AJAX will be more suitable.
Generally I wonder about something like script which works in one frame and gets the informations about this what is loaded in the second frame.
For example:
I have a website which has 2 frames. One is large, wide, second one smaller. I am surfing in this wider one and script in the narrow frame takes the information about the link (address) which is loaded in the frame where I am surfing.

I hope my example is easy to understand, btw sorry for my english, still learning aswell. ?

So, is that possible ? To control the contet of one frame by script in another frame ?

Is possible to send those informations to the server, to some PHP script for example ?

I couldn’t find any answer for that questions, but heard that JavaScript has a lot of possibilites on the client (browser) side.

Thx in advance.

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @benoone 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.2,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...