Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET MVC
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;
    });
});
Posted 9-Apr-13 9:21am
Edited 9-Apr-13 11:26am
(no name)47.8K
v2
Comments
Prasad Khandekar at 9-Apr-13 16:27pm
   
The one major problem I can see in code is that the selector strings are not enclosed in quotes. Same goes with dialog.dialog(open) & dialog.dialog(close).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 277
1 Maciej Los 210
2 BillWoodruff 195
3 DamithSL 195
4 Richard MacCutchan 178
0 OriginalGriff 5,130
1 DamithSL 4,197
2 Maciej Los 3,670
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,821


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 9 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100