≡
×
Plus
Manual
Examples
Reference
Download
Blog
Community
Support
SOLVED! How to open a dialog dynamically with datatables server-side?
SOLVED! How to open a dialog dynamically with datatables server-side?
arasa
Posts: 11
Questions: 3
Answers: 0
July 2013
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
arasa
Posts: 11
Questions: 3
Answers: 0
July 2013
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.
Replies
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]