- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have tried various incantations in trying to dynamically update an instance of the JustGage widget that I have included in my Intel XDK project. I just can't seem to make it work. Based upon the comments in the gauges.js file, I should be able to do this:
var gauge = Gauges.getById('fuel');
gauge.refresh(50);
However, in the debugger of the Emulate tab I get the following error on that second statement:
Uncaught TypeError: undefined is not a function
Any ideas?
Thanks in advance,
-Mark
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you checked the value of the "guage" variable being returned to confirm that you actually received an object back from the Guages call? It's possible you have an ID that doesn't work or there is something wrong with the call. Sorry, I'm not intimately familiar with that widget.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page