+ 2

How can I get the input from a text to appear in an iframe?

30th Nov 2016, 8:18 PM
Brian Hoeft
Brian Hoeft - avatar
5 Answers
+ 5
you need not iframes for that just little js will work <input type=text id=input> <div id=value></div> <button onclick="function(){ document.getElementById("value").innerHTML=document.getElementById("input").value; }">display</button>
1st Dec 2016, 4:36 AM
Sandeep Chatterjee
+ 3
no it's not broken you can use <script> tag there might be typing error you can see others code or my code if you are stuck
1st Dec 2016, 11:54 AM
Sandeep Chatterjee
+ 1
thank you
1st Dec 2016, 9:31 AM
Brian Hoeft
Brian Hoeft - avatar
+ 1
it's a broken cide
1st Dec 2016, 11:12 AM
Brian Hoeft
Brian Hoeft - avatar
+ 1
code*
1st Dec 2016, 11:12 AM
Brian Hoeft
Brian Hoeft - avatar