Password Strength Meter is a jQuery plugin that allows you to easily bind a progress bar showing the strength of a password to your inputs with multiple options.
Check the docs for more info.