i need to check if the contents of 2 textboxes match and i load the contents of these 2 into a variable
Code:
var pass = document.getElementById('password').value;
var cpass = document.getElementById('cpassword').value;
correct the code if its wrong, because i'm kinda new at javascript, my friend told me to stay away from it if it was possible xD
so what i need to do is check if those 2 textboxes value match, how to do this?