I am trying to customize a workflow initialize form for the "Approval - SharePoint 2010" workflow. I write some JQuery function to hide some rows. The Jquery script is included in Master file. When the workflow form is loaded (with URL /15/CstWrkflIP.aspx) my function will be fired and it works as expected.
However, when I click on "Add Stage" button, the form trigger a postback (towards /_layouts/15/Postback.FormServer.aspx when checking with IE11 developer tool). Then all the rows come back again! How can I trigger my JQuery function again after every Postback?