wrong Cookie gets deleted (multiple tables on one page)
wrong Cookie gets deleted (multiple tables on one page)

State saving does not work with multiple tables on one page it seems.
test here: http://www.databased.at/hattrick/x-ray/pages/squadRAW.htm
if i check with firebug firecookie i can see that when i cange sort order on table A cookie of table B gets deleted etc.
somethign wrong with my implementation or is this a bug?
Anyway thanks for this epic tool !
test here: http://www.databased.at/hattrick/x-ray/pages/squadRAW.htm
if i check with firebug firecookie i can see that when i cange sort order on table A cookie of table B gets deleted etc.
somethign wrong with my implementation or is this a bug?
Anyway thanks for this epic tool !
This discussion has been closed.
Replies
http://www.datatables.net/ref
[code]
$(document).ready(function() {
$('#tableA').dataTable( {
"sCookiePrefix": "tableA_",
} );
$('#tableB').dataTable( {
"sCookiePrefix": "tableB_",
} );
} );
[/code]
http://www.databased.at/hattrick/x-ray/pages/squadRAWcookiebug.png
works now :)