I have some functions that I frequently use in a file called customLib.js. When I want to use one of the functions I copy its definition to the script where I want to use it. Could I upload it somewhere, like dropbox, and use a dropbox url as the src to link to it as an external script in the script tag? Like how Google hosts jQuery.
efth 0 Newbie Poster
Recommended Answers
Jump to PostSure you can, but I don't know how Dropbox works.
All you need is to put your file in a virtual directory, using IIS, apache or any other.
Do you have any host? If so just put the file there and use it's URL.
All 4 Replies
AleMonteiro 238 Can I pick my title?
efth 0 Newbie Poster
NardCake 30 Posting Pro in Training
gon1387 22 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.