Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Cannot fire JS function after postback

$
0
0

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?


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>