How to make a "Confirm Password" field?

Hi ,
What is the exact problem you are facing with that code , can you explain?
What is the id of your input boxes ? Like #input1 or #input10 something like that?
What is the next operation you will do if password matches?

Note:
I can help you until you get the output.

I request you to have patience and give the answer.

Thanks dude.
{ Every expert was beginner once !}