The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to add jQuery to a framework?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #148209

    Hello to every one!

    I want to start a new template based on bootstrap framework.

    It has lots of things ready (from coding sight) like buttons and …

    The only thing I want to add on it is jQuery library and I want to give an

    interactivity to it with this library.

    How should I do that?

    in bootstrap’s page they have written this:

    Bring Bootstrap’s components to life with over a dozen custom jQuery plugins.


    Please help me to achieve the jQuery on a template.


    Include it like you would with any other website; call the library in the header. Or the footer, whatever you prefer.


    There are a number of ways you can add jQuery to your project.

    1. Download it from, FTP it to your server, and include it in the <head>, like: <script src="/your/path/to/jquery.js"></script> – this is slower but reliable in that you always know it’ll be there
    2. Use Google’s hosted version which is delivered from a CDN , like: <script src="//"></script> – this is faster but it’s not on your server and some devs worry that Google might stop offering this service and if that happens you’re screwed
    3. Combine both, and use Google CDN’s jQuery if it’s available, and fall back to a local copy if it is not – this is really the best of both worlds.
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.