wrong Cookie gets deleted (multiple tables on one page)
wrong Cookie gets deleted (multiple tables on one page)
![hayde](https://secure.gravatar.com/avatar/5ba8060198afec68c6bbe9f4d17cb309/?default=https%3A%2F%2Fvanillicon.com%2F5ba8060198afec68c6bbe9f4d17cb309_200.png&rating=g&size=120)
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 :)