Software Archive
Read-only legacy content
17061 Discussions

jquery libraries

Dan_K_
Beginner
452 Views

I have an app where I don't use the app designer. To use jquery mobile with the app, I include the jquery and jquery mobile libraries in the head of my index.html:

    <script type="application/javascript" src="lib/jquery.min.js"></script>
    <script type="application/javascript" src="jqm/jquery.mobile-min.js" data-ver="0"></script>

If I have other html files in the app, do they also need to load these libraires, or is once within index.html file ok?

0 Kudos
1 Reply
Ad
New Contributor III
452 Views

It depends:

- If you are using a single page app, NO you don't need to load these in other pages

- If you are using an app structure where html pages are loaded as new pages, YES

0 Kudos
Reply