how to validate a password, with a require password is word reverse from text username.
ex : username = admin, pass = nimda.
what a code for validate it…??? thx! ? ?
[CODE]String.prototype.isPalindrome=function(str){ var pal= this.replace(/W+/g,'').split('').reverse().join(''); return str? str.replace(/W+/g,'')=== pal : pal; }[/CODE]
Help @binunstudent spread the word by sharing this article on Twitter...