jQuery Mobile Toolbar refresh() Method Last Updated : 07 Jan, 2022 Comments Improve Suggest changes 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 refresh() method to update the toolbar. This method is used to update the visual styling. Syntax: $("selector").toolbar("refresh"); Arguments: This method does not accept any arguments. 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 uses of the jQuery Mobile Toolbar refresh() method. HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <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> <script> function refresh() { $("#headerID").toolbar("refresh"); alert("Widget Refreshed"); } </script> </head> <body> <center> <div data-role="page"> <center> <h2 style="color:green">GeeksforGeeks</h2> <h3>jQuery Mobile Toolbar refresh() method</h3> </center> <div id="headerID" data-role="header"> <h1>This is a header toolbar</h1> </div> <button onclick="refresh();" style="width:250px;" value="Refresh the Widget"> Refresh ToolBar </button> </div> </center> </body> </html> Output: Reference: https://api.jquerymobile.com/toolbar/#method-refresh Comment More infoAdvertise with us Next Article jQuery Mobile Toolbar refresh() Method S SHUBHAMSINGH10 Follow Improve Article Tags : Web Technologies JQuery jQuery-Mobile jQuery-Mobile-Toolbar Similar Reads jQuery Mobile Toolbar show() Method jQuery Mobile is a set of HTML5 based user system interaction widget toolbox used for various purposes build on top of jQuery. It is designed to build fast and responsive sites accessible to mobile, tabs, and desktops. In this article, we will use the jQuery Mobile Toolbar show() method to display t 1 min read jQuery Mobile Slider refresh() Method 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 be using the jQuery Mobile Slider refresh() method to refresh the slider functionality. This method does not accept any parameter. Syntax: 1 min read jQuery Mobile Toolbar toggle() Method jQuery Mobile is a set of HTML5 based user system interaction widget toolbox used for various purposes build on top of jQuery. It is designed to build fast and responsive sites accessible to mobile, tabs, and desktops. In this article, we will use jQuery Mobile Toolbar toggle() method to toggle the 1 min read jQuery Mobile Toolbar option() Method jQuery Mobile is an HTML5 based user interface system designed to make responsive websites and apps that are accessible on all smartphone, tablet, and desktop devices. The rangeslider widget of jQuery Mobile is a double handle slider. The sliders have a min and a max value to be set and we can choos 3 min read jQuery Mobile Toolbar hide() Method jQuery Mobile is a set of HTML5 based user system interaction widget toolbox used for various purposes build on top of jQuery. It is designed to build fast and responsive sites accessible to mobile, tabs, and desktops. In this article, we will use the jQuery Mobile Toolbar hide() method to hide a to 1 min read Like