JQuery Facebox Plugin : Get it inside the form tag

前端 未结 4 1180
囚心锁ツ
囚心锁ツ 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:34

    Even after the : $('#aspnetForm').append($.facebox.settings.faceboxHtml)

    change I found it problematic. When you look at the page source using firebug you see that all the html in the div assigned to be the facebox div is doubled up (repeated).

    So all of those controls with supposed unique id's are doubled up on the page, that can't be good on the postback, i've decided putting asp.net web controls in a facebox is not a good idea.

提交回复
热议问题