Fancybox - ASP.NET button not working

前端 未结 14 1039
一生所求
一生所求 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:56

    You need to change this (somewhere around line 719 of jquery.fancybox-1.3.1.js):

    $('body').append(
        tmp         = $('
    '), loading = $('
    '), overlay = $('
    '), wrap = $('
    ') );

    to

    $('form').append(
        tmp         = $('
    '), loading = $('
    '), overlay = $('
    '), wrap = $('
    ') );

提交回复
热议问题