until last week I had absolutly no experince with Javascript, I now know more than i ever wanted to know but of course I cannot figure something out. Now, this code forks heavily from the WebIQ samples; I have been using a combination of Bing AI, ChatGTP, Online Javascript validator, and JSlint to try and get this code functional. I am attempting to make a momentary push button widget with 2 states that uses a command and a status tag, I am trying make the screen development easier for my engineers by reducing the amount of work they have to invest. I just want objects that already cohere to our development style and practive, that they drop on the screen, assing tags to, and run. I am sure there are easier ways to do this but this is a base framework for additional features I want to add. as of right now, the debug in wediq errors on the very last line with "Uncaught SyntaxError: Unexpected token ')'". everything i read, including the sample code, says that what I have "})();" is exactly how I should be closing the code so i assume there is something wrong prior to this. but I cannot figure it out. It appears I have all of the correct blocks. any insight is appraciated, I think i really close to having this functional.
... View more