Reputation: 4976
I don't want my users having to load a ton of JS files if their browser doesn't support it. What's the best/easiest/fastest to only load JS scripts if the browser supports Javascript?
Thanks in advance, - JS noob
Upvotes: 3
Views: 148
Reputation: 70819
If JavaScript is off, the browser won't download files from the src
attribute of <script type='text/javascript'>
tags.
Upvotes: 6