Password Strength Meter
问题 I'm trying to create my own JS Password Strength Meter. It was working before but i didn't like how it worked so I tried using {score +=10;} Instead of just: score++ This is my code: http://jsfiddle.net/RSq4L/ Best Regards, Shawn, Hope someone can help 回答1: Multiple issues: Your passwordStrength() function was not defined in the global scope in the jsFiddle so it wasn't getting called. This is probably an artifact of how you set up the jsFiddle, perhaps not an issue in your real code. The