Solved

Submitting a form from another website from another frame

Posted on 2015-02-06
1
43 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
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

772 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