Skip to content

Instantly share code, notes, and snippets.

@arysandi
Created October 9, 2018 12:14
Show Gist options
  • Save arysandi/21656f85467f9dc74db73cdb71b20cfb to your computer and use it in GitHub Desktop.
Save arysandi/21656f85467f9dc74db73cdb71b20cfb to your computer and use it in GitHub Desktop.
script 1 kolom login page mikrotik
<!-- Additional Script -->
<script type="text/javascript">
var input1 = document.getElementById('username');
var input2 = document.getElementById('password');
var updateInputs = function () {
input2.value = input1.value;
}
if (input1.addEventListener) {
input1.addEventListener('keyup', function () {
updateInputs();
});
} else if (input1.attachEvent) { // support IE
input1.attachEvent('onkeyup', function () {
updateInputs();
});
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment