I need assistance with implementing a password strength meter for a textbox within a wizard control. The issue I'm facing is that the password box does not become visible until step 4, preventing me from registering an event handler onload(). Placing JS code next to the password box to register the event handler also does not work, possibly due to content loading through AJAX postback.
Could someone advise on how to successfully register the event handler in this scenario? Thank you...
function CheckCustomJSHandlers() {
if (document.getElementById('<%=Password1.ClientID %>')) {
document.getElementById('<%=Password1.ClientID %>').onkeyup = CheckPasswordStrength;
}
}