4 ms·
It is server side javascript and because of that there is not jQuery (which is client side library). You are not working with DOM, you are working with API defi
by selectnull 14y ago
It is server side javascript and because of that there is not jQuery (which is client side library). You are not working with DOM, you are working with API defined by Apps Script, check the docs here https://developers.google.com/apps-script/ https://developers.google.com/apps-script/
- chernevik 14y agoI get that detachment from the DOM but jQuery has useful tools beyond element selection and manipulation. For that matter, why doesn't App Script expose an interface that expresses page components as part of a DOM? The Sheet app could provide an interface to a cell with classes for its particular column, row and sheet, allowing access with jQuery / CSS selectors. Instead users have to learn a new interface with stuff like Spreadsheeet.getRange(). And maybe they've revised the docs, but I spent a fair amount of time in them and didn't see any discussion of what JavaScript tools would not be available. I had to figure that out by trial and failure.