Jump to content

Please help me adim, java scripters!!


jeremywilms

Recommended Posts

I tryed writeing a script that would password lock a page, well for example i want it to do something like this Here but it dosnt work so i tryed copying from a book and it told me to put<html><head><script LANGUAGE="JavaScript">function displayPassword(){alert(\nname is ---"> +docment.entryForm.secret.name +"\nvalue is --->" +docment.entryForm.secret.name +"\ndefaultValue is ---"> +docment.entryForm.secret.defaultValue)}</script></head><body><Br><FORM NAME="ddd"></B><BR><BR><INPUT TYPE="password" NAME="secret" SIZE="15"VALUE="bosefus"><INPUT TYPE="button" NAME="passwordViewer"VALUE="Push To View" onClick="displayPassword()"></form></body></html>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...