string comparison in java script
string comparison in java script for example confirm password...like..
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Akhil MittalPosted Jul 9, 2014, 4:52 AM
http://www.w3schools.com/jsref/jsref_localecompare.asp
Guest UserPosted Jul 9, 2014, 4:39 AM
var string1="ABC";
var string2="abc";
if(string1.toLowerCase()==string2.toLowerCase())
confirm('same');
twitter @sumitjolly