SyntaxFix
Write A Post
Hire A Developer
Questions
Fiddle: http://jsfiddle.net/33HMj/
Js:
var md5 = function(value) { return CryptoJS.MD5(value).toString(); } $("input").keyup(function () { var value = $(this).val(), hash = md5(value); $(".test").html(hash); });