I have an HTML textarea, and an IFrame. On a button click, I would like to be able to load the content of the textarea into the IFrame.
For example, when the user types in Hello World
into the textarea, and presses the submit button, the text Hello World
would show up in the IFrame.
Any ideas on how this could be done? Thanks in advance.
NOTE: I would like to use JQuery, but I think I'll have to use PHP for this. It sounds more server side.