Open-source by Keenthemes!Support our KtUI and ReUI open-source projects and help with growth.
Star on Github

Script error


When i define datatable i ghet this error in my index page, where can i put my script to define datatable after jquery and others scripts loaded?
ndex:9215 Uncaught ReferenceError: $ is not defined


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (6)


If you're looking to level up faster, dominate the leaderboard, or unlock powerful transformations, using a well-made Muscle Legends script can seriously boost your gameplay. It’s a great way to streamline training, collect rewards efficiently, and experience the game at its fullest without endless grinding.



Can nicely write on similar topics! Welcome to here you'll find out how it should look.Lakeland Pest Control



Hmm… I interpret blogs on a analogous issue, however i never visited your blog. I added it to populars also i’ll be your faithful primer.Oviedo Termite Treatment



I recommend only good and reliable information, so see it: Orlando Bed Bug Treatment



wow this saintly however ,I love your enter plus nice pics might be part personss negative love being defrent mind total poeple ,Kissimmee Pest Control



Hi Helder

Make sure that your scripts are loaded in the correct order. Also please try to init your datatable code wrap with DOMContentLoaded event.


document.addEventListener("DOMContentLoaded", function() {
$("#example").DataTable();
});


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(