+ 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
7 Antworten
+ 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?
+ 4
Why iframe?
Is this some homework?
+ 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.
0
But how
0
Calvin can you make program on this topic
0
Gajendra Suman just show me how textarea tag format...
0
<form action="#area" target="#iframe"><textarea id="area"></textarea></form>
<Iframe id="iframe"></iframe>