How to get user input and put it in an iframe?

Hello. I’ve been working on a project called StudentCenter Labs. Basically an updated version of my previous StudentCenter. Anyways, there is a part in the “create an account” section where the user enters their embed google calendar code. This code is an iframe copied from the google calendar section where you can integrate your calendar. Anyways, basically what I need is for the user input which is stored inside of a javascript localStorage, to be loaded on the next page as the actual iframe element. To say it clearer, basically I need to make the src of an iframe element the user input that is gathered earlier and stored in javascript localStorage. If anyone could help, that would be great. Thanks!

(I didn’t have very long to write this, so if what I said is not clear, please ask me a question and I will get back as soon as possible)

this sounds about right for what you describe. instead of loading a URL, specify the content from JavaScript

Yes that was what I was trying to do. Thanks!