Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Submitting a form from another website from another frame

Posted on 2015-02-06
1
Medium Priority
?
51 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 2000 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

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…
This article discusses how to create an extensible mechanism for linked drop downs.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
Suggested Courses

581 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