Closed
Description
I'm receiving a JS error every time I attempt to modify a UI element.
For example, the demos from the readme:
myGUI = DOMdemoGUI;
mlapptools.fontColor(myGUI.TextArea, 'aqua');
Throws the following:
Error using matlab.internal.webwindow/executeJS (line 701)
Error executing JavaScript command:
JavaScript error: Uncaught TypeError: dojo.query is not a function at line 1 column 18 in undefined
Error in mlapptools/getWidgetID (line 345)
widgetID = win.executeJS(widgetquerystr);
Error in mlapptools.getWebElements (line 104)
widgetID = mlapptools.getWidgetID(win, mlapptools.getDataTag(uiElement));
Error in mlapptools.fontColor (line 54)
[win, widgetID] = mlapptools.getWebElements(uiElement);
Error in trialcode (line 2)
mlapptools.fontColor(myGUI.TextArea, 'aqua');
On both Windows & Mac