+ 4

How to compare to input strings in html??

For example enter password : Re enter password : To compare both inputs....

19th Feb 2018, 9:28 AM
Pardha saradhi Chodey
Pardha saradhi Chodey - avatar
4 odpowiedzi
+ 3
I think you need JavaScript to check whether the comparison is true or false.
19th Feb 2018, 9:31 AM
Hossein Rad
Hossein Rad - avatar
+ 2
you have to learn javascript var a=document.getElementById('pass') var b=document.getElementById('repass') if(a!=b){ alert("please type same password") }else{ alert(Ÿou are looged in") }
19th Feb 2018, 9:49 AM
Sudarshan Rai
Sudarshan Rai - avatar
0
Is it??
19th Feb 2018, 9:32 AM
Pardha saradhi Chodey
Pardha saradhi Chodey - avatar