Solved

Submitting a form from another website from another frame

Posted on 2015-02-06
1
44 Views
Last Modified: 2015-03-02
If I load a website that is not my own in a frame named "bottom" and I want a button in a frame named "top" to submit that form in "bottom", is it possible? If so how would I do that? JavaScript only NO JQuery please.
0
Comment
Question by:894359
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 40594180
Not going to happen.  It is a security violation and no modern browser is going to permit a hack that used to trash sites in a regular basis.

If you want to access the form for the other site then bring it to your server with a server to server transaction, and include it in your page from your server. The form should then be submittable from your site, but the target site will see it is coming from an outside domain.  If you do not have permission to interface this way they will simply block you and you will not be able to access them at all.  They may also report the incident to your ISP and legal authorities is they consider it an attack.

Cd&
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question