在mvc中分页时show popup的问题

编程入门 行业动态 更新时间:2024-10-27 03:33:08
本文介绍了在mvc中分页时show popup的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有使用包含分页的jquery的表。我在实现分页时遇到了问题,我单击按钮编辑(在其行中的表格内) - 但是弹出窗口没有显示。请给我一些解决方案的建议...

I have table with using jquery that contains paging. I met the problem when implement the paging, I click the button Edit (inside table on its row) - but the popup doesn''t not show. Please give me some advice for solution...

// jquery that contain paging $(document).ready(function () { $(#myDataTable).dataTable({ bJQueryUI: true, sPaginationType: full_numbers; }).makeEditable(); }); // show popup edit var dialog; $(document).ready(function () { dialog = $(#popupWindow1).dialog({ title: Create Building, width: 350, height: 400, resizable: false, modal: true, autoOpen: false }); $(.CreateLink).click(function () { $(#popupWindow1).empty(); var url = $(this).attr(href); $(#popupWindow1).load(url, function () { $(#inputCloseModal).click(function () { dialog.dialog(close); return false; }); }); dialog.dialog(open); return false; }); });

推荐答案

( document )。ready ( function (){ (document).ready(function () {

(#myDataTable).dataTable({ bJQueryUI: true , sPaginationType:full_numbers; })。makeEditable(); }); // show popup edit var 对话框; (#myDataTable).dataTable({ bJQueryUI: true, sPaginationType: full_numbers; }).makeEditable(); }); // show popup edit var dialog;

( document )。ready(功能(){ dialog = (document).ready(function () { dialog =

更多推荐

在mvc中分页时show popup的问题

本文发布于:2023-10-06 19:43:56,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1467637.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:分页   mvc   popup   show

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!