jQuery Mobile Toolbar trackPersistentToolbars Option Last Updated : 20 Jan, 2022 Summarize Comments Improve Suggest changes Share Like Article Like Report jQuery Mobile is a web-based technology used to make responsive content that can be accessed on all smartphones, tablets, and desktops. In this article, we will use the jQuery Mobile Toolbar trackPersistentToolbars option to persist the toolbar across pages. Syntax: Initializing the toolbar with the specified trackPersistentToolbars option: $( ".selector" ).toolbar({ trackPersistentToolbars: true }); Setting the trackPersistentToolbars option: $( ".selector" ).toolbar( "option", "trackPersistentToolbars", true ); Getting the trackPersistentToolbars option: var disabled = $( ".selector" ) .toolbar( "option", "trackPersistentToolbars" ); CDN Links: First, add jQuery Mobile scripts needed for your project. <link rel=”stylesheet” href=”https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css” /><script src=”https://code.jquery.com/jquery-2.1.3.js”></script><script src=”https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.js”></script> Example: This example describes the jQuery Mobile Toolbar trackPersistentToolbars option. HTML <!doctype html> <html lang="en"> <head> <link rel="stylesheet" href= "https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" /> <script src= "https://code.jquery.com/jquery-2.1.3.js"> </script> <script src= "https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.js"> </script> </head> <body> <div data-role="page"> <center> <h1 style="color:green;"> GeeksforGeeks </h1> <h3>jQuery Mobile Toolbar trackPersistentToolbars Option</h3> <div id="headerID" data-role="header"> <h1>This is a header toolbar</h1> </div> <input type="button" id="Button" value="Value of the trackPersistentToolbars option"> <div id="log"></div> </center> </div> <script> $(document).ready(function () { $("#headerID").toolbar({ trackPersistentToolbars: true }); $("#headerID").toolbar( "option", "trackPersistentToolbars", true ); $("#Button").on('click', function () { var a = $("#headerID").toolbar( "option", "trackPersistentToolbars" ); $("#log").html(a); }); }); </script> </body> </html> Output: jQuery Mobile Toolbar trackPersistentToolbars Option Reference: https://api.jquerymobile.com/toolbar/#option-trackPersistentToolbars Comment More infoAdvertise with us Next Article jQuery Mobile Toolbar position Option K Kanchan_Ray Follow Improve Article Tags : Web Technologies JQuery jQuery-Mobile jQuery-Mobile-Toolbar Similar Reads jQuery Mobile Toolbar transition Option jQuery Mobile is a JavaScript library built using jQuery & is based on the user interface system designed to make responsive websites and apps that are accessible on all smartphone, tablet, and desktop devices. The jQuery toolbar is a widget that can be utilized to enhance headers and footers. T 4 min read jQuery Mobile Toolbar tapToggleBlacklist Option jQuery Mobile is a JavaScript library that is used to develop responsive web applications and websites that are accessible on a variety of devices like mobiles, tablets, and desktops, etc. jQuery Mobile is built on top of jQuery. In this article, we will use the jQuery Mobile Toolbar tapToggleBlackl 2 min read jQuery Mobile Toolbar supportBlacklist Option jQuery Mobile is a web-based technology used to make responsive content that can be accessed on all smartphones, tablets, and desktops. In this article, we will use the jQuery Mobile Toolbar supportBlacklist option. This option's value is a function that returns true on platforms where toolbar widge 2 min read jQuery Mobile Toolbar position Option jQuery Mobile is a web-based technology used to create websites and apps which are responsive and accessible on devices of various screen sizes like mobile, tablets, and desktops. In this article, we will use the jQuery Mobile Toolbar position option. When the position option is set to "fixed" the t 2 min read jQuery Mobile Toolbar tapToggle Option jQuery Mobile is a JavaScript library built on top of jQuery. It is used to create responsive websites which are accessible on devices of various screen sizes like phones, tabs, and desktops. In this article, we will use the jQuery Mobile Toolbar tapToggle option. The tapToggle option defines whethe 3 min read jQuery Mobile Toolbar theme Option jQuery Mobile is a web-based technology used to make responsive content that can be accessed on all smartphones, tablets, and desktops. In this article, we will use the jQuery Mobile Toolbar theme option. The Toolbar theme option is used to set the color scheme for the toolbar. It accepts a single l 2 min read Like