0

HTML and JavaScript

how to make a <script> function displayname() { document.getElementById("data").value; } </script> and <input> to work to print a text that you write in PLS HELP ME!!!

8th Dec 2016, 10:14 AM
3.br_9_Ključevšek
3.br_9_Ključevšek - avatar
1 Resposta
0
the syntax is correct, but i think you put the 'script' tag before the element that has 'data' id.
8th Dec 2016, 3:07 PM
Adhya Adam
Adhya Adam - avatar