when jquery .html() is used to set inner HTML, .click() event on form button no longer works
I have a html form which contains a button. This button has a .click() event attached within a js file. This was working fine, until I used jquery .html() to substitute my main page content with the form content. The…