Is there any benefit or disadvantage to having my CSS and my Jquery scripts in EE templates?
The reason I ask is because I’m including my first Jquery script (simpleModal) and what I did was I created a “scripts” group in EE and made a template called simpleModal which has all the code from simpleModal.
I was then just going to include that template in my header file using the ee scripts tag.
Is this ideal or is it slower than just having the .js file on the server and including it like that?
I’ve also heard of some people using Global Variables to put their .js scripts in. What are the benefits of that?