We have custom JavaScript using the JQuery library on our main form for Contacts. On the form, we load the JQuery SDK REST library to do selects against the Contact entity. and then our javascript which has some methods referencing the library.
I realize that JavaScript has limited support on Surface and we need to shut it down gracefully so there is no error.
Currently, when we look at it on Surface running the Crm app, there is an error when executing the onchange on a field, for example
Field:
Event:
Error: '$' not identified
I'm guessing its because it can't load the JQuery library. What we would like to do is shut down the javscript gracefully so that there is no error.
Whats the best way to disable the custom javascript so it doesn't give the error. I'm assuming I'm going to have to put some code into the javascript REST library as well to not load it either...
Note: this is during an Edit operation. Edit pulls up the regular form (which has JavaScript attached). Create will pull up the Quick create form (which does NOT have JavaScript attached)