Fancybox - ASP.NET button not working

前端 未结 14 1034
一生所求
一生所求 2020-12-01 02:13

I\'ve just determined using Firebug that when Fancybox window is created it actually takes all of my ASP.NET controls (contained in DIV tag) and puts them outside FORM tag.

14条回答
  •  清歌不尽
    2020-12-01 02:47

    Fancybox Version: 2.1.2

    Line 1782 of jquery.fancybox.js

    Change this:

    this.el     = document.all && !document.querySelector ? $('html') : $('body');
    

    To this:

    this.el     = document.all && !document.querySelector ? $('html') : $('form:first');
    

提交回复
热议问题