This script checks for the strength of your password using AJAX and will show you stregth metter graphically with beautiful images. The script is very easy to integrate in your websites and highly customizable according to your website requirements via CSS.

I took the field as a text not a Password because of your understanding and demonstration, when you will enter your password to check it will display you the exact characters not "*" if you want to change the text field as a password then you have to modify code as below:
Find
if (obj.childNodes[i].type == "text")
Replace it with
if (obj.childNodes[i].type == "text" || "password")
That's it.
View demo
Download source code