Dynamically Load External JS File

  • Javascript - June 3, 2016

There are times when you may need to load an external Javascript library dynamicaly and not via a static <script> tag such as:

<script type="text/javascript" src="http://yoursite.com/external.js"></script>

The following js code snippet can be added to an existing function to be loaded when needed...

Show Formatted Date

  • Javascript - May 18, 2016

This snippet allows you to display the current date in numbers on your webpage.