• Hi there,

    If I am not making a mistake, your form uses ajax to validate if the password is correct or not in order to reveal the hidden content.

    I want to add an eventlistener into an element that is located in the protected area. I think that is not possible since this element does not exist when the DOM loads for the first time, but instead is being added later if you use the correct password.

    So I thought to add something like an eventlistener to passster form that will check if the form submission was successful and then add the eventlistener to the element I want.

    Do you think something like that would be possible?

    Any help would be much appreciated.

    Thank you.

    Best,
    Manos

    • This topic was modified 2 years, 6 months ago by 3devo.
  • The topic ‘Add EventListener on Succesful Form Submit’ is closed to new replies.