JQuery Facebox Plugin : Get it inside the form tag

前端 未结 4 1178
囚心锁ツ
囚心锁ツ 2020-12-18 12:19

I am wanting to use the Facebox plugin for JQuery but am having a few issues getting it running how I want. The div that houses the facebox content is created outside of th

4条回答
  •  醉话见心
    2020-12-18 12:30

    You can use this code to register the PostBack event:

    btn.OnClientClick = string.Format("{0}; $.facebox.close();",ClientScript.GetPostBackEventReference(btn, null));
    

    this will let the button fires a PostBack.

提交回复
热议问题