Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function reboot(){\
- var msg = document.querySelector('#pwd1').value;\
- digestMsg(msg).then(result=>{\
- var opt = document.querySelector('[name=\"opt\"]');\
- var chk = document.querySelector('[name=\"chk1\"]');\
- opt.value = 3;\
- chk.value = digToHex(result);\
- console.log(opt.value);\
- console.log(chk.value);\
- document.getElementById('frmAdm').submit();\
- });\
- }\
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement