Skip to content
Advertisement

Jquery validation making incorrect appearance of form elements, submit button? [closed]

my php page contain the following html/jquery for password field validation. Below is my code

JavaScript

The problem is when I input values in new password fields the validation works well but the submit button is disappearing ? is there something I missing ? I found this code snippet from web. Please help to solve this code.

Advertisement

Answer

Your input might be inside the div that’s getting it’s content replaced using .html(). Simply get it out if that’s the case. But in your code as is, you’re not closing the div properly.

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement