开发者

how to call a code behind button_click in jquery

开发者 https://www.devze.com 2023-02-17 13:20 出处:网络
I opened a Popup using Jquery dialog it contains all asp.net 开发者_StackOverflow中文版controls [ submit,textbox]

I opened a Popup using Jquery dialog it contains all asp.net 开发者_StackOverflow中文版controls [ submit,textbox]

When i click submit on popup no action is performing.....how can i call that action with jQuery

i am beginner..can u explain in detail...if possible with sample code.......


This is because jquery puts the dialog outside the form, and asp.net won't process it if it is outside the form.

When defining your dialog, use parent().appendTo("form") instead, and it will work:

$('#yourPanel').dialog({
  //options
}).parent().appendTo("form");
0

精彩评论

暂无评论...
验证码 换一张
取 消