How to detect/track postback in javascript?

后端 未结 11 1377
猫巷女王i
猫巷女王i 2020-12-02 18:51

How to detect/track/check postback in javascript(e.g in asp.net Page.isPostBack())? Any suggestion?

11条回答
  •  隐瞒了意图╮
    2020-12-02 19:41

    This is a simple JS way to determine the status of IsPostBack that I just got working in the Body of my ASPX page; needed to cause a PostBack during PageLoad for a project.

        
    

提交回复
热议问题