Difference between revisions of "DP2021"
From MGH Learn Pathology
Line 1: | Line 1: | ||
+ | {{#tag:htmltag|function passWord() { var testV = 1; var pass1 = prompt('Please Enter Your Password',' '); while (testV!=3) { if (!pass1) history.go(-1); if (pass1.toLowerCase() == "m1csh0p") { alert('You Got it Right!'); window.open('protectpage.html'); break; } testV+=1; var pass1 = prompt('Access Denied - Password Incorrect, Please Try Again.','Password'); } if (pass1.toLowerCase()!="password") if (testV ==3) history.go(-1); return " "; };|tagname=script}} | ||
+ | |||
+ | <htmltag tagname="button" tvalue="Enter Protected Area" onClick="passWord()" >Enter</htmltag> | ||
+ | |||
{{:Derm_Path_Update_2021}} | {{:Derm_Path_Update_2021}} | ||
<hr> | <hr> |