Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form>
- <input id="Name" type="text" name="Name">
- <input id="Ausgabe" type="submit" value="Ausgabe">
- <p id="yournamehas" class="ptags">Your Name has:</p>
- <p id="lname" class="ptags"></p>
- <p id="Characters" class="ptags"> Characters</p>
- </form>
- function namelength() {
- var Namee = document.getElementById('#Name').value.length
- document.getElementById('lname').innerHTML = Namee
- };
- function ausgabe() {
- $("#Ausgabe").on("click",function(){
- {
- document.getElementById("#Ausgabe").innerHTML =
- namelength();
- }
- })
- };
Add Comment
Please, Sign In to add comment