+ 4
How to compare to input strings in html??
For example enter password : Re enter password : To compare both inputs....
4 Answers
+ 3
I think you need JavaScript to check whether the comparison is true or false.
+ 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")
}
0
Is it??