no configt dataTable throwing error on Firefox when table tag has been loaded via $().load
no configt dataTable throwing error on Firefox when table tag has been loaded via $().load
mark-ellul
Posts: 2Questions: 0Answers: 0
Hi,
I have hit an issue on Firefox (linux v3.6.12).
Basically I load a html table into a div and then call dataTable on it.
[code]
$(".mydiv").load('/load_my_table', function(){
var mydt = $('#data_table").dataTable();
});
[/code]
When that code runs... I get a firebug exception.
oColumn.asSorting is undefined
[Break On This Error] oSettings.aaSorting[i][1] = oColumn.asSorting[0];
jquery...8423084 (line 6746)
It works on Chrome Stable.
Any Ideas?
Below is an example of the table html I am loading.
Any Help would be appreciated.
[code]
ID
Type
Name
1
subject
Game Design
2
subject
English
3
subject
Science
4
subject
Math
5
subject
Cinematic
6
subject
Music
7
subject
Procedural
8
subject
Oral
10
subject
Visual
11
subject
Critical
12
subject
Textual
13
subject
Social
[/code]
I have hit an issue on Firefox (linux v3.6.12).
Basically I load a html table into a div and then call dataTable on it.
[code]
$(".mydiv").load('/load_my_table', function(){
var mydt = $('#data_table").dataTable();
});
[/code]
When that code runs... I get a firebug exception.
oColumn.asSorting is undefined
[Break On This Error] oSettings.aaSorting[i][1] = oColumn.asSorting[0];
jquery...8423084 (line 6746)
It works on Chrome Stable.
Any Ideas?
Below is an example of the table html I am loading.
Any Help would be appreciated.
[code]
ID
Type
Name
1
subject
Game Design
2
subject
English
3
subject
Science
4
subject
Math
5
subject
Cinematic
6
subject
Music
7
subject
Procedural
8
subject
Oral
10
subject
Visual
11
subject
Critical
12
subject
Textual
13
subject
Social
[/code]
This discussion has been closed.
Replies
Allan