Hello!
I should get the text inputted in the text box using
As I used <span>
tag only for decorating text by css, and this time I need it just to output the input value, with no css decoating at all, I ama little bit confused, couldn’t find similar example easy enough to understand.
I tried sth like this, but more just to show what I tend to.
Do I have to incorporate some functions and how?
Please, some tutorial web sites explaining that in simply words maybe??
MANY THANKS IN ADVANCE!!!
<!DOCTYPE html>
<html>
<head>
<script>
var a=document.getElementById("demo").value;
<span id="m">
alert(a);
</span>
</script>
</head>
<body>
<input type="tekst" id="demo">
</body>
</html>