editable not working properly
editable not working properly
my code
[code]
$(document).ready(function() {
$("#tabs").tabs( {
"show": function(event, ui) {
var table = $.fn.dataTable.fnTables(true);
if ( table.length > 0 ) {
$(table).dataTable().fnAdjustColumnSizing();
}
}
} );
$('table.display').dataTable( {
"sPaginationType": "full_numbers",
"bScrollCollapse": true,
"bJQueryUI": true,
"sScrollY": "400px",
} );
$('.edit_area').editable("save.php", {
type: 'textarea',
cancel: 'Cancel',
submit: 'Save',
indicator : 'Saving...',
});
} );
[/code]
my table
[code]
<?php echo $type; ?>
<?php echo $time; ?>
<?php echo $text; ?>
[/code]
my problem
- all the table with edit_area are editable in first page but not functioning on the following pages
[code]
$(document).ready(function() {
$("#tabs").tabs( {
"show": function(event, ui) {
var table = $.fn.dataTable.fnTables(true);
if ( table.length > 0 ) {
$(table).dataTable().fnAdjustColumnSizing();
}
}
} );
$('table.display').dataTable( {
"sPaginationType": "full_numbers",
"bScrollCollapse": true,
"bJQueryUI": true,
"sScrollY": "400px",
} );
$('.edit_area').editable("save.php", {
type: 'textarea',
cancel: 'Cancel',
submit: 'Save',
indicator : 'Saving...',
});
} );
[/code]
my table
[code]
<?php echo $type; ?>
<?php echo $time; ?>
<?php echo $text; ?>
[/code]
my problem
- all the table with edit_area are editable in first page but not functioning on the following pages
This discussion has been closed.
Replies
Allan