get attribute html

PHOTO EMBED

Wed Mar 13 2024 06:51:11 GMT+0000 (Coordinated Universal Time)

Saved by @RadioShakcident

<html>

<input id="contact" name="address">

<script>

    var x = document.getElementById("contact").getAttribute('name');

</script>

</html>
content_copyCOPY