Forum Discussion
ArchiveUser
8 years agoQrew Captain
Dan, thanks for the speedy response and the great info!
The code I'm using to pull in the latest version of moment.js is as follows:
The code I'm using to pull in the latest version of moment.js is as follows:
$.getScript('https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.js',function() { var now = moment(); console.log(now); })Just wanted to test to make sure I could access the moment function, but I get a "moment is not defined" error.