Uncaught ReferenceError: $ is not definedBrowser Info Environment
I note your comments about needing to load your script in the page due to caching issues, so I'm wondering if you know of any easy solution to my problem? For example, are you using JQuery for much more than ID targeting and if so, could these few lines be replaced with vanilla JS?
Might I suggest that you consider adding the wrapper to your add-in code.
Thanks again for publishing your work :)
Sorry I was unable to answer your question yesterday as I am currently away on holiday until the 15th.
I'm glad to hear that you have managed to sort out the issue and I will take a look at the SO link you provided and apply any necessary updates.
Any other questions, please feel free to contact me again and I will try my best to get back to you as fast as possible.