You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i tried to figure this one out myself but i'm stuck. As soon as i include tablesorter.js (production and development versions) I'm getting this error:
Resource interpreted as Script but transferred with MIME type text/html: pathToTablesorter.js Uncaught SyntaxError: Unexpected token <
I researched but i couldn't figure it out. It's defenitely not a problem with my server as 20 other JS files load correctly.
It's included like this <script src="js/tablesorter.min.js"></script>
If i open tablesorter in eclipse, everything looks fine. If I open it in chrome dev tools, i see my web-page HTML. Maybe i did a stupid mistake somewhere but unless I'm totally blind, the script-tag is fine.
Is tablesorter - by itself without initializing it in javascript - rendering the DOM allready by just being included? Because my tables are created and populated via AJAX and they're not complete on page load (the HTML my be invalid if tablesorter checks the tables on page load automatically).
The text was updated successfully, but these errors were encountered:
i tried to figure this one out myself but i'm stuck. As soon as i include tablesorter.js (production and development versions) I'm getting this error:
Resource interpreted as Script but transferred with MIME type text/html: pathToTablesorter.js
Uncaught SyntaxError: Unexpected token <
I researched but i couldn't figure it out. It's defenitely not a problem with my server as 20 other JS files load correctly.
It's included like this
<script src="js/tablesorter.min.js"></script>
If i open tablesorter in eclipse, everything looks fine. If I open it in chrome dev tools, i see my web-page HTML. Maybe i did a stupid mistake somewhere but unless I'm totally blind, the script-tag is fine.
Is tablesorter - by itself without initializing it in javascript - rendering the DOM allready by just being included? Because my tables are created and populated via AJAX and they're not complete on page load (the HTML my be invalid if tablesorter checks the tables on page load automatically).
The text was updated successfully, but these errors were encountered: