Include an external Javascript file using JQuery Last updated: 30 Jul 2012 inside a javascript file, add this: $.getScript('/js/lib.js'); that will include the file lib.js, the same way you would use include or require in, for example, PHP. docs Felipe 30 Jul 2012 30 Jul 2012 jquery include « Iterating through all Paragraphs - Open/Libre Office Macro Archive Reload/Refresh a page using Javascript »