DataTable 1.7.6. and table does not work
DataTable 1.7.6. and table does not work
toplisek
Posts: 26Questions: 5Answers: 0
I have tested 1.7.6. and need help.
When I test local it will work without any issue. When I copy the same files on server it will be table content and recognised CSS. I have put the same javascript files but sorting link does not execute sorting and also search input with pagination is not there.
Which file or code stopps showing this functions?
When I test local it will work without any issue. When I copy the same files on server it will be table content and recognised CSS. I have put the same javascript files but sorting link does not execute sorting and also search input with pagination is not there.
Which file or code stopps showing this functions?
This discussion has been closed.
Replies
$(document).ready( function () {
var oTable = $('#example').dataTable( {
"sDom": 'RC<"clear">lfrtip'
} );
new FixedHeader( oTable );
} );
If I remove this it will not work sorting and also search input.
I have this at website. Is this issue with encoding as I have stored javascript with charset="utf-8" without BOM and inserted files have all the time charset="utf-8"?
cpromos_banners-tabs1-lib.js:8
Uncaught ReferenceError: lQuery is not defined
elektricne-grelne-mreze.html:91
Uncaught TypeError: Property '$' of object [object DOMWindow] is not a function
jquery.newsTicker-2.2.js:210
Uncaught TypeError: Cannot read property 'controls' of undefined
It looks like you will need to use 'jQuery' rather than '$' on that particular site.
Allan
$ is not a function:
jQuery(document).ready( function () {
var oTable = $('#example').dataTable( {
"sDom": 'RC<"clear">lfrtip'
} );
new FixedHeader( oTable );
} );
at LINE:
var oTable = $('#example').dataTable( {
Maybe is Issue is with script from
script type="text/javascript" charset="utf-8">
jQuery(document).ready( function () {
var oTable = $('#example').dataTable( {
I have changed $...
Allan
Thank you for quick reply.