Skip to content
Related Articles

Related Articles

jQuery UI Checkboxradio refresh() Method

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 14 May, 2022

jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. Whether you are building highly interactive web applications, or you just need to add a date picker to a form control, jQuery UI is a perfect choice.

In this article, we will be using the jQuery Mobile Checkboxradio refresh() method. This method is used to refresh the Checkboxradio button widget. This method does not accept any parameters



CDN Link: First, add jQuery UI CDN links inside the head section that is needed for your project.

<link rel=”stylesheet” href=”//”>
<script src=”//”></script>
<script src=”//”></script>

Example: In this example, we will describe how to use the jQuery UI Checkboxradio refresh() method.


<!DOCTYPE html>
    <link rel="stylesheet" href=
    <script src=
    <script src=
        <h1 style="color:green;">
        <h3>jQuery UI Checkboxradio refresh() Method</h3>
        <label for="radio1">Button 1</label>
        <input type="radio" name="radio" 
               id="radio1" class='radio'>
        <label for="radio2">Button 2</label>
        <input type="radio" name="radio" 
               id="radio2" class='radio'>
        <label for="radio3">Button 3</label>
        <input type="radio" name="radio" 
               id="radio3" class='radio'>
        <input type="button" id="btn" 
            value="Refresh CheckboxRadio" 
            style="padding: 8px">
            $(document).ready(function () {
                $("#btn").on('click', function() {
                        alert("Refresh the checkboxradio widget");




My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!