+ 1

How to show result of html code which is entered in textarea tag, in iframe of same page without any other languages?

When user clicked on submit button then entered html code's result must be showed in iframe tag which is below on textarea tag

28th Jun 2020, 9:30 AM
Gajendra Suman
Gajendra Suman - avatar
8 odpowiedzi
+ 5
You should not use iframe for Javascript generated output, we use iframe to embed other html page to current webpage. Why don't just insert html content to a div element whenever textarea is submitted?
28th Jun 2020, 9:40 AM
Calviղ
Calviղ - avatar
+ 4
Why iframe? Is this some homework?
28th Jun 2020, 9:41 AM
Gordon
Gordon - avatar
+ 3
Gajendra Suman I can make a program. But before that, I need to see your attempt. At least show us a form with textarea and submit button.
28th Jun 2020, 10:24 AM
Calviղ
Calviղ - avatar
0
But how
28th Jun 2020, 9:43 AM
Gajendra Suman
Gajendra Suman - avatar
0
Calvin can you make program on this topic
28th Jun 2020, 9:44 AM
Gajendra Suman
Gajendra Suman - avatar
0
Gajendra Suman just show me how textarea tag format...
28th Jun 2020, 1:07 PM
Calviղ
Calviղ - avatar
0
<form action="#area" target="#iframe"><textarea id="area"></textarea></form> <Iframe id="iframe"></iframe>
6th Jul 2020, 6:04 AM
Gajendra Suman
Gajendra Suman - avatar