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