154
rated 0 times
[
160]
[
6]
/ answers: 1 / hits: 21823
/ 10 Years ago, thu, april 24, 2014, 12:00:00
I am having two textboxes like this :
<p>
<input type=text name=NPassword placeholder=New Password/></p>
<input type=text name=RNPassword placeholder=Retype New Password/>
Now,what i want is that on every keypress of Retype New Password It should check if both are same or not.If yes then in green color display it on right side of RNPassword,Otherwise in red color display that both are not same and also disable the submit button of the page.How this can be done please help.
More From » jquery