- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
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?
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.
<head>
, like: <script src="/your/path/to/jquery.js"></script>
– this is slower but reliable in that you always know it’ll be there<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></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