Jump to content

AshokGeetesh

Members
  • Posts

    2
  • Joined

  • Last visited

AshokGeetesh's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Hi, Please could you help me on the below codings. I have set the password in below codings, but i want to know few things. ie if we provide correct password it should move to hyperlink. ex: WWW.GOOGLE.COM instead of giving me as "Correct", <head><script type="text/javascript">function isValid(){var password = document.getElementById('password').value;if (password == "G0ld"){alert('Correct!')}else{alert('Wrong Password')}}</script></head> <form name="PasswordField" action="">Password:<input type="password" id="password" name="password"><input type="button" value="Log in" onclick="isValid();"></form> Thanks, AshokGeetesh
  2. Hi, Please could you help me, on how to create password for hyperlinks? is this possible? Thanks, AshokGeetesh
×
×
  • Create New...