JQuery Mobile
jQuery Mobile is a touch-optimized web framework (also known as a mobile framework), specifically a JavaScript library, developed by the jQuery project team.[6] The development focuses on creating a framework compatible with many smartphones and tablet computers, made necessary by the growing but heterogeneous tablet and smartphone market.[src] The jQuery Mobile framework is consistent with other mobile app frameworks and platforms such as PhoneGap, Worklight, etc.[6] As of October 7, 2021 jQuery Mobile has been deprecated.[1]
jQuery Mobile is a touch-optimized web framework (also known as a mobile framework), specifically a JavaScript library, developed by the jQuery project team.[6] The development focuses on creating a framework compatible with many smartphones and tablet computers, made necessary by the growing but heterogeneous tablet and smartphone market.[src] The jQuery Mobile framework is consistent with other mobile app frameworks and platforms such as PhoneGap, Worklight, etc.[6] As of October 7, 2021 jQuery Mobile has been deprecated.[1] ==Features== Compatible with all major desktop browsers as well as all major mobile platforms, including Android, iOS, Windows Phone, Blackberry, WebOS, Symbian.[src] Built on top of jQuery core so it has a minimal learning curve for people already familiar with jQuery syntax.[src] Theming framework that allows creation of custom themes.[src] Limited dependencies and lightweight to optimize speed.[src] The same underlying codebase will automatically scale to any screen.[src] HTML5-driven configuration for laying out pages with minimal scripting.[src] AJAX-powered navigation with animated page transitions that provides ability to create semantic URLs through pushState.[src] UI widgets that are touch-optimized and platform-agnostic.[src] (Source: from the jQuery Mobile website) ==Example usage== $('div').on('tap', function(event){ alert('element tapped '); }); $(document).ready(function(){ $('.myList li').on('click touchstart', function() { $('.myDiv').slideDown('500'); }); }); ==A basic example== What follows is a basic jQuery Mobile project utilizing HTML5 semantic elements.[9] It is important to link to the jQuery and jQuery Mobile JavaScript libraries, and stylesheet (the files can be downloaded and hosted locally, but it is recommended to link to the files hosted on the jQuery CDN).[1] A screen of the project is defined by a section HTML5 element, and data-role of page .[src] Note that data-role is an example of the HTML5 data attribute, in this case being defined by jQuery Mobile.[1] A page may have header and footer elements with data-role of header and footer , respectively.[src] In between, there may be an article element, with a role of main and a class of ui-content .[src] Lastly, a nav element, with data-role of navbar may be present.[src] One HTML document can contain more than one section element, and thus more than one screenful of content.[9] This way it is only necessary to load one file which includes multiple pages of content.[src] One page can link to another page within the same file by referencing the page's id attribute (e.g.[src] href="#second" ).[src] In the example below, two other data- attributes are used.[src] The data-theme attribute tells the browser what theme to render.[src] The data-add-back-btn attribute adds a back button to the page if set to true .[src] Lastly, icons can be added to elements via the data-icon attribute.[src] jQuery Mobile has fifty commonly used icons built in.[1] A brief explanation of the Data Attributes used in this example: data-role – Specifies the role of the element, such as header, content, footer, etc.[9] data-theme – Specifies which design theme to use for elements within a container.[src] Can be set to: a or b.[src] data-position – Specifies whether the element should be fixed, in which case it will render at the top (for header) or bottom (for footer).[src] data-transition – Specifies one of ten built-in animations to use when loading new pages.[src] data-icon – Specifies one of fifty built-in icons that can be added to an element.[src] jQuery Mobile Example Page 1 Header Hello, world![1] Go to Page 2 Page 1 Footer Page 2 Header Example Page Page 2 Footer ==Theming== jQuery Mobile provides a theming framework that allows developers to customize color schemes and certain CSS aspects of UI features.[10] Developers can use the jQuery Mobile ThemeRoller application to customize these appearances and create branded experiences.[1] After developing a theme in the ThemeRoller application, programmers can download a custom CSS file and include it in their project to use their custom theme.[src] Each theme can contain up to 26 unique color "swatches," each of which consists of a header bar, content body, and button states.[src] Combining different swatches allows developers to create a wider range of visual effects than they would be able to with just one swatch per theme.[2] Switching between different swatches within a theme is as simple as adding an attribute called "data-theme" to HTML elements.[src] The default jQuery Mobile theme comes with two different color swatches, named "a" and "b".[1] Here is an example of how to create a toolbar with the "b" swatch: Page Title (Source: from the jQuery Mobile website) There are already a handful of open source style themes that are developed and supported by third-party organizations.[2] One such open source style theme is the Metro style theme that was developed and released by Microsoft Open Technologies, Inc.[2] The Metro style theme is meant to mimic the UI of the Metro (design language) that Microsoft uses in its mobile operating systems.[2] ==Mobile browser support== Key: A browser that’s capable of, at minimum, utilizing media queries (a requirement for jQuery Mobile).[4] These browsers will be actively tested against, but may not receive the full capabilities of jQuery Mobile.[1] A capable browser that doesn’t have enough market share to warrant day-to-day testing.[src] Bug fixes will still be applied to help these browsers.[src] A browser that is not capable of utilizing media queries.[src] They will not be provided any jQuery Mobile scripting or CSS (falling back to plain HTML and simple CSS).[1] * - Upcoming browser.[src] This browser is not yet released but is in alpha/beta testing.[1] (Source: from the jQuery Mobile website) ==See also== jQTouch jQuery Content adaptation DaVinci Studio iUI PhoneGap Tizen ViziApps Bootstrap JavaScript framework JavaScript library ==References== ==Further reading== ==External links== The jQuery Project jQuery Mobile documentation and demo jQuery Mobile Framework: write less, do more jQuery Mobile C# ASP.NET By Matthew David Elgert[1]
58 sentences · 58 cited inline · 10 references stored
References
- jQuery Foundation - jquerymobile.com. jQuery Mobile Alpha 1 Released . blog.jquerymobile . · retrieved 2026-08-31 · rev 1372652341
Cite this reference
MLA "jQuery Foundation - jquerymobile.com. jQuery Mobile Alpha 1 Released . blog.jquerymobile ." jQuery Foundation - jquerymobile. 2026-08-31. https://en.wikipedia.org/w/index.php?oldid=1372652341. Accessed 26 November 2026.
Chicago "jQuery Foundation - jquerymobile.com. jQuery Mobile Alpha 1 Released . blog.jquerymobile ." jQuery Foundation - jquerymobile. 2026-08-31. https://en.wikipedia.org/w/index.php?oldid=1372652341.
APA jQuery Foundation - jquerymobile. (2026). jQuery Foundation - jquerymobile.com. jQuery Mobile Alpha 1 Released . blog.jquerymobile . Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372652341
- There are already a handful of open source style themes that are developed and supported by third-party organizations. One such open source style theme is the Metro style theme that was developed and . · retrieved 2026-08-31 · rev 1372652341
Cite this reference
MLA "There are already a handful of open source style themes that are developed and supported by third-party organizations. One such open source style theme is the Metro style theme that was developed and ." There are already a handful of open source style themes that are developed and supported by third-party organizations. 2026-08-31. https://en.wikipedia.org/w/index.php?oldid=1372652341. Accessed 26 November 2026.
Chicago "There are already a handful of open source style themes that are developed and supported by third-party organizations. One such open source style theme is the Metro style theme that was developed and ." There are already a handful of open source style themes that are developed and supported by third-party organizations. 2026-08-31. https://en.wikipedia.org/w/index.php?oldid=1372652341.
APA There are already a handful of open source style themes that are developed and supported by third-party organizations. (2026). There are already a handful of open source style themes that are developed and supported by third-party organizations. One such open source style theme is the Metro style theme that was developed and . Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372652341
- jQuery Foundation - jquery.org. jQuery Licensing Changes . Blog.jquery.com . 2012-09-10. · retrieved 2026-08-31 · rev 1372652341
Cite this reference
MLA "jQuery Foundation - jquery.org. jQuery Licensing Changes . Blog.jquery.com . 2012-09-10." jQuery Foundation - jquery. 2026-08-31. https://en.wikipedia.org/w/index.php?oldid=1372652341. Accessed 26 November 2026.
Chicago "jQuery Foundation - jquery.org. jQuery Licensing Changes . Blog.jquery.com . 2012-09-10." jQuery Foundation - jquery. 2026-08-31. https://en.wikipedia.org/w/index.php?oldid=1372652341.
APA jQuery Foundation - jquery. (2026). jQuery Foundation - jquery.org. jQuery Licensing Changes . Blog.jquery.com . 2012-09-10. Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372652341
- Mobile Graded Browser Support . · retrieved 2026-08-31 · rev 1372652341
Cite this reference
MLA "Mobile Graded Browser Support ." 2026-08-31. https://en.wikipedia.org/w/index.php?oldid=1372652341. Accessed 26 November 2026.
Chicago "Mobile Graded Browser Support ." 2026-08-31. https://en.wikipedia.org/w/index.php?oldid=1372652341.
APA encyclopegia.org. (2026). Mobile Graded Browser Support . Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372652341
- The Global Rise of the Smartphone . retrieved 2011-04-27 · retrieved 2011-04-26 · rev 1372652341
Cite this reference
MLA "The Global Rise of the Smartphone . retrieved 2011-04-27." The Global Rise of the Smartphone. 2011-04-26. https://en.wikipedia.org/w/index.php?oldid=1372652341. Accessed 26 November 2026.
Chicago "The Global Rise of the Smartphone . retrieved 2011-04-27." The Global Rise of the Smartphone. 2011-04-26. https://en.wikipedia.org/w/index.php?oldid=1372652341.
APA The Global Rise of the Smartphone. (2011). The Global Rise of the Smartphone . retrieved 2011-04-27. Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372652341
- Resons why jQuery Mobile Is Suitable For Mobile Web App Development . · retrieved 2026-08-31 · rev 1372652341
Cite this reference
MLA "Resons why jQuery Mobile Is Suitable For Mobile Web App Development ." 2026-08-31. https://en.wikipedia.org/w/index.php?oldid=1372652341. Accessed 26 November 2026.
Chicago "Resons why jQuery Mobile Is Suitable For Mobile Web App Development ." 2026-08-31. https://en.wikipedia.org/w/index.php?oldid=1372652341.
APA encyclopegia.org. (2026). Resons why jQuery Mobile Is Suitable For Mobile Web App Development . Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372652341
- IBM Worklight - United States . Worklight.com . retrieved 2013-10-09 · retrieved 2013-10-08 · rev 1372652341
Cite this reference
MLA "IBM Worklight - United States . Worklight.com . retrieved 2013-10-09." IBM Worklight - United States. 2013-10-08. https://en.wikipedia.org/w/index.php?oldid=1372652341. Accessed 26 November 2026.
Chicago "IBM Worklight - United States . Worklight.com . retrieved 2013-10-09." IBM Worklight - United States. 2013-10-08. https://en.wikipedia.org/w/index.php?oldid=1372652341.
APA IBM Worklight - United States. (2013). IBM Worklight - United States . Worklight.com . retrieved 2013-10-09. Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372652341
- jQuery maintainers continue modernization initiat . · retrieved 2026-08-31 · rev 1372652341
Cite this reference
MLA "jQuery maintainers continue modernization initiat ." 2026-08-31. https://en.wikipedia.org/w/index.php?oldid=1372652341. Accessed 26 November 2026.
Chicago "jQuery maintainers continue modernization initiat ." 2026-08-31. https://en.wikipedia.org/w/index.php?oldid=1372652341.
APA encyclopegia.org. (2026). jQuery maintainers continue modernization initiat . Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372652341
- ==Example usage== $('div').on('tap', function(event){ alert('element tapped '); }); $(document).ready(function(){ $('.myList li').on('click touchstart', function() { $('.myDiv').slideDown('500'); }) . · retrieved 2026-08-31 · rev 1372652341
Cite this reference
MLA "==Example usage== $('div').on('tap', function(event){ alert('element tapped '); }); $(document).ready(function(){ $('.myList li').on('click touchstart', function() { $('.myDiv').slideDown('500'); }) ." ==Example usage== $('div'). 2026-08-31. https://en.wikipedia.org/w/index.php?oldid=1372652341. Accessed 26 November 2026.
Chicago "==Example usage== $('div').on('tap', function(event){ alert('element tapped '); }); $(document).ready(function(){ $('.myList li').on('click touchstart', function() { $('.myDiv').slideDown('500'); }) ." ==Example usage== $('div'). 2026-08-31. https://en.wikipedia.org/w/index.php?oldid=1372652341.
APA ==Example usage== $('div'). (2026). ==Example usage== $('div').on('tap', function(event){ alert('element tapped '); }); $(document).ready(function(){ $('.myList li').on('click touchstart', function() { $('.myDiv').slideDown('500'); }) . Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372652341
- JQuery Mobile Theming Overview . · retrieved 2026-08-31 · rev 1372652341
Cite this reference
MLA "JQuery Mobile Theming Overview ." 2026-08-31. https://en.wikipedia.org/w/index.php?oldid=1372652341. Accessed 26 November 2026.
Chicago "JQuery Mobile Theming Overview ." 2026-08-31. https://en.wikipedia.org/w/index.php?oldid=1372652341.
APA encyclopegia.org. (2026). JQuery Mobile Theming Overview . Retrieved November 26, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372652341
Cite this article
MLA
"JQuery Mobile." encyclopegia.org, 2026, https://encyclopegia.org/wiki/jquery-mobile. Accessed 26 November 2026.
Chicago
"JQuery Mobile." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/jquery-mobile.
APA
encyclopegia.org. (2026). JQuery Mobile. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/jquery-mobile
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON