Accepted answer

Most likely you failed to load jQuery on which your code depends on. Adding this code before loading highcharts should do the trick.

<script src="" type="text/javascript"></script>

Also you can't purely use JavaScript to fetch data from a database. You will have to use a server scripting language such as PHP, Ruby, Python, ASP.Net e.t.c. JavaScript is client side only.


I think you forget to include jQuery?

<script src="//"></script>

Related Query

More Query from same tag