English 中文(简体)
J Query/2005/4UI and ASP. 净额
原标题:JQuery blockUI and ASP.Net?

Well im using jQuery and blockUI in asp.net i love jquery and blockUI but i found a problem when displaying a panel with a asp.net button in them the actual button is moved out of the form tag, so when you click the button nothing happens..

有什么办法可以把其内容标签放在形式标签上,而不是放在标签上!

最佳回答

现在不能百分之百地确定,这是最佳解决办法,但我确实去了。 缩略语

替换

var layers = [lyr1, lyr2, lyr3], $par = full ? $( body ) : $(el);

iii

var layers = [lyr1, lyr2, lyr3], $par = full ? $( form ) : $(el);

替换

$( html,body ).css( height ,  100% );

iii

$( html,body,form ).css( height ,  100% );

替换

els = $( body ).children().filter( .blockUI ).add( body > .blockUI );

iii

els = $( form ).children().filter( .blockUI ).add( body > form > .blockUI );

看来,迄今为止,它一直在工作,测试了不止一个浏览器!

问题回答

如果我能正确理解,那么当一个纽子在表格外被点击时,你会再次试图阻止表格。 如果该案例支持诸如以下几个因素:

$( #blockButton ).click(function() { 
   $( form ).block({ message: null }); 
}); 




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签