data does not show

data does not show

suitongsuitong Posts: 3Questions: 0Answers: 0
edited April 2012 in General
Hi, I would like to seek help for the basic setup of datatable, anyone have idea why the data cannot be shown. Thanks.


header :
[code]


[/code]

body:
[code]


Master Sample #






$(document).ready(function() {
$('#dataDIV:DataTable').dataTable({
"bProcessing": true,
"aaData": [{"actsNo":"55060931488"}],
"aoColumns": [
{ "sTitle": "Master Sample #", "mDataProp": "actsNo" }
]
});
} );
[/code]

exception unsupport method:
[code]
(line 4185 in jquery-1.7.2.js) if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) {

In debugger:
type = "parseJSON"
expr = ".DTDB_Text_Info"
Expr.leftMatch[ type ].exec( expr ) -> unsupport method
[/code]

Replies

  • suitongsuitong Posts: 3Questions: 0Answers: 0
    found the reason, 1) jquery does not support id with ":" 2) there is another jason.js loaded conflict with the jquery.js
This discussion has been closed.