Adding Jquery reference in Google Doc App scripts editor

409 Views Asked by At

I want to add jquery library reference in google Doc App scripts editor.I was trying to paste entire jquery library code but it did not work due to many conflicts and showing error window is undefined.Is there any way to add library reference in google Doc App scripts editor?

1

There are 1 best solutions below

1
On

Please read the documentation about including external libraries to GAS,

see also this article and note this comment : All recent versions of the jQuery and jQuery UI libraries are compatible with Caja, but the libraries load faster if you use the versions that Google hosts.