SOLVED! How to open a dialog dynamically with datatables server-side?

SOLVED! How to open a dialog dynamically with datatables server-side?

arasaarasa Posts: 11Questions: 3Answers: 0
edited July 2013 in General
Hi, this is my first post... i'm very new in all of this, please help me

The dialog doent open :(

I'm trying to open dialog using a class in my ajax.php file, like this

[code]$row[] = "

Replies

  • arasaarasa Posts: 11Questions: 3Answers: 0
    FYI

    I found the answer!!! :)

    I must change

    [code] $( ".myClass" ).click(function( event ) {
    $( "#dialog" ).dialog( "open" );
    event.preventDefault();
    });
    [/code]

    to
    [code]
    $( ".myClass" ).live('click',function( event ) {
    $( "#dialog" ).dialog( "open" );
    event.preventDefault();
    });
    [/code]
This discussion has been closed.