Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • 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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(