java script to validate password filed and confirm password

hI freinds i am new to java scripting ,can any one help mw with code to validate password field and conform password fields.

[131 byte] By [tripuranenia] at [2007-11-27 10:53:17]
# 1

Validating a password field can be done using java script alone. But authenticating(confirming) a password can be done on the server side. What is that you looking for precisely?

passion_for_javaa at 2007-7-29 11:43:08 > top of Java-index,Java Essentials,Java Programming...
# 2

hi thanks for replying me...

i have two fields in my form.....

one ispassword and the other is conformpassword.I want to check whether the characters enterd in both the fields are matching are not.

tripuranenia at 2007-7-29 11:43:08 > top of Java-index,Java Essentials,Java Programming...
# 3

ask in a Javascript forum. Java is not Javascript.

jwentinga at 2007-7-29 11:43:08 > top of Java-index,Java Essentials,Java Programming...
# 4

I wonder how JavaScripters end up here. I mean if you type "JavaScript forum" into google you get plenty of hits, none of which is the Sun forums. I clicked on the first match and they have a "sticky" post at the top of the forum that lists "rules". This was one of them.

Javascript is NOT Java, this is a much less common mistake than you would belive, but every one in a while someone makes the mistake of posting in the wrong forum without saying it's java they are using not javascript. This waste time for both you and us, please avoid it.

So it seems it goes both ways.

floundera at 2007-7-29 11:43:08 > top of Java-index,Java Essentials,Java Programming...
# 5

Probably this will help you.

http://webdeveloper.com/forum/showthread.php?t=149901&highlight=password+validation

And like others said, try to identify the suitable places to raise suitable queries.

Ramki.

passion_for_javaa at 2007-7-29 11:43:08 > top of Java-index,Java Essentials,Java Programming...