Javascript passwords

Need help with pass...

Page 1 of 1

1 Replies - 1097 Views - Last Post: 07 November 2009 - 07:37 PM

#1 kirbyfan101   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 62
  • Joined: 30-April 09

Javascript passwords

Posted 07 November 2009 - 03:15 PM

OK I Need to create a web page that in it you have to sighn in to see certian content and so far i only have Theis HTML code:
<html>
<body>
<form action="" method="post">
<p style="font-family:Curlz mt;Color:Blue">Radio Button<input type="radio" name="Radio Button" value="radio button" >
<br></br><p style="font-family:Curlz mt;Color:Blue">Checkbox<input type="checkbox" value="checkbox">
<br></br><p style="font-family:Curlz mt;Color:Blue">Text: <input type="text"  value="text goes here">
<br></br><p style="font-family:Curlz mt;Color:Blue">Password: <input type="password" Name="password"> 
<br></br><p style="font-family:Curlz mt;Color:Blue">Button: <input type="button" value="button" name="button">
<br></br><p style="font-family:Chiller;Color:Blue">Submit button: 
</form>
<a name="link1">
</body>
</html>


And Here is my Javascript code (It's not done yet i need help with that):
<html>
<head>
<script tpye="text/javascript">
function Pass()
{
var x ="Idk"
}
</script>
</head>
</html>



Here is a screenshot (i hope):

<

Is This A Good Question/Topic? 0
  • +

Replies To: Javascript passwords

#2 JMRKER   User is offline

  • D.I.C Addict
  • member icon

Reputation: 134
  • View blog
  • Posts: 868
  • Joined: 25-October 08

Re: Javascript passwords

Posted 07 November 2009 - 07:37 PM

Why create a JS function when an HTML is already available?
name: <INPUT TYPE=TEXT NAME="realname"><BR>
password: <INPUT TYPE=PASSWORD NAME="mypassword">



If you still want to use JS, take a look at:
http://javascript.in....com/passwords/
or
http://javascript.in...iple-users.html

Note, neither way is very secure.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1