Running script after Update panel AJAX asp.net

前端 未结 2 1936
误落风尘
误落风尘 2020-12-31 05:46

I am running an ajax update panel in my website. The update panel returns some new controls. I would like to set some JavaScript for the controls after they are returned fro

2条回答
  •  隐瞒了意图╮
    2020-12-31 06:03

    You could use a Timer with a function that checks if the controls exists every few hundred ms. Once it detects them, apply your script and end the timer.

提交回复
热议问题