Skip to content

Instantly share code, notes, and snippets.

@aligator28
Created October 5, 2016 11:20
Show Gist options
  • Select an option

  • Save aligator28/e3131813bbfcbc76c8e31272eb027697 to your computer and use it in GitHub Desktop.

Select an option

Save aligator28/e3131813bbfcbc76c8e31272eb027697 to your computer and use it in GitHub Desktop.

Revisions

  1. aligator28 created this gist Oct 5, 2016.
    8 changes: 8 additions & 0 deletions Dynamic javascript loading
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    // var script = document.createElement('script');
    // script.src = 'https://cdn.jsdelivr.net/jquery.validation/1.15.1/jquery.validate.min.js';
    // script.onload = function () {



    // };
    // document.head.appendChild(script); //or something of the likes