Dismiss Notice

Register now to be one of the first members of this SharePoint Community! Click here it just takes seconds!

Dismiss Notice
Welcome Guest from Country Flag

How can I trigger a JS function after each postback?

Discussion in 'SharePoint Blogs' started by Microsoft SharePoint, Dec 14, 2015.

Thread Status:
Not open for further replies.
  1. Microsoft SharePoint

    Microsoft SharePoint Guest

    Blog Posts:
    0
    0
    0
    0
    I am trying to mock up the Workflow form (~siteCollection/_layouts/15/CstWrkflIP.aspx?List={xxx}) with JQuery. All I need to do is hide some rows.

    I included my JS in Master page. The function do triggered at the form's first load. However, when I click "Add stage" button, it trigger an ajax postback action and all form element is re-rendered. All hided rows are shown again.

    How can I trigger my JS again after each postback? Or how can I prevent postback re-render the form elements? Thanks!

    submitted by legendgodgod
    [link]
     
Thread Status:
Not open for further replies.

Share This Page

LiveZilla Live Chat Software