Skip to content
Advertisement

Tag: undefined

Highcharts: Cannot read property ‘parts/Globals.js’ of undefined

I am using certain libraries from Highcharts and I get the following error: How can I fix this? I am using: Answer Faced the same issue. Highcharts released a new version 7.1.0 two days back. They have fixed an issue(10232) which is causing this error. You can use https://code.highcharts.com/5.0.14/modules/solid-gauge.js this particular version instead of the latest one. It’s working for

JavasScript function undefined

i’ve got an html element declared as so: and the javascript function switchViews is declared post-html as such: when I click on the html element, i get thrown a JS error saying “Object Exepcted”, and in the google chrome script debugger it says that switchViews is undefined. Why would it think that switchViews is undefined and how would I go

Why does a new javascript array have ‘undefined’ entries?

Here’s a sample that demonstrates an array that as you fill it in, it gets all types of undefined entries in it as well. This is on firefox 19.0/firebug, not sure if it happens on other browsers. Basic flow: Object is initialized (very bottom) It calls “load” When the ajax returns in load, data.objects contains an array of json objects.

Advertisement