Answers for "js change input type"

1

js change input type

# Follow me on Linkedin
# linkedin.com/in/barisx
<input id="barisx" type="text" name="password" />

<script type="text/javascript">
    document.getElementById('barisx').type = 'password';
</script>
Posted by: Guest on September-05-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language