I am using
HillBillyForm.js by Mark Rackley to customise a couple of forms:
Where I have saved the above in
This is working great, but I recently came across a problem where some of our users who do not have internet access need to use these forms.
The issue is that that
JQuery to work, but I can't use the CDN due to lack of internet connectivity.
My solution is to include the raw
JQuery code in
HillBillyForm.js, and this does work. However, I feel it would be a lot neater if I could add this as a separate file, say
jquery-1.10.1.js into my
SiteAssets and call it from
I have tried adding the following lines to
HillBillyForm.js after creating
However none of these appear to work (I get a null-reference error in the same place as when there is no
Jquery at all).
So my question is, how can I call a
SiteAsset file from another file in