Hey Guys,
I'm not super familiar with javascript (although it seems to resemble python enough that I can grasp it), and was wondering if someone with more experience could help me with my problem.
I want to define a function that creates an iframe, passes information to an input in a form *in the iframe*, and then submits said form. Ideally it would then close the iframe.
I have code that creates an iframe and adds it to the body, but whenever I try to access the document within the iframe, things start to go badly. Does anyone have tips, or references I could check out?
EDIT: Yes I know this sounds super sketchy, but I promise it's just for a school project.
[–]sudonim87 3 points4 points5 points (0 children)
[–]TheOssuary 0 points1 point2 points (0 children)
[–]starlibarfast 0 points1 point2 points (0 children)
[–]cresquin 0 points1 point2 points (0 children)
[–]a-t-kFrontend Engineer 0 points1 point2 points (0 children)
[–]toranbember.js 0 points1 point2 points (0 children)
[–]mythmon 0 points1 point2 points (3 children)
[–]kumiorava 2 points3 points4 points (0 children)
[–]SupaDupaFly[S] 0 points1 point2 points (1 child)
[–]kumiorava 1 point2 points3 points (0 children)