Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ashish ShuklaRank #458 · 5.5K reputationPosted Mar 31, 2013, 4:31 AM EDT
if(document.getElementById("cpass").value==document.getElementById("pass").value)
{
// password and confirm-password matched
}
else
{
// password and confirm-password do not match
}
Please let me know if this answers your question.
Master Vids3 reputationPosted Mar 31, 2013, 9:42 AM EDT