Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

jQuery UI Resizable widget() Method

  • Last Updated : 06 Dec, 2021

The jQuery UI consists of GUI widgets, visual effects, and themes implemented using jQuery, CSS, and HTML. jQuery UI is great for building UI interfaces for the webpages. The jQuery UI Resizable widget() method is used to invoke the widget method. This method does not accept any parameters.


var widget = $( ".selector" ).resizable( "widget" );

Parameter: This method does not accept any parameters.

CDN Links:

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



<!doctype html>  
<html lang="en">  
      <link href=
      <script src=
      <script src=
         h1 {
             color: green;
             width: 170;
             float: center;
             width: 150px; 
             height: 150px;   
             text-align: center; 
             border: 2px solid black;
         $(function() {  
            $( "#right-div" ).resizable();  
            var widget = $( "#right-div" ).resizable('widget');
           <h3>jQuery UI Resizable widget() Method</h3>
           <div class="container">  
              <div id="right-div">   
                 <h3 class="gfg">I'm widget</h3>  


  • With resizable effect:

    jQuery UI Resizable widget() Method

  • In console:jQuery UI Resizable widget() Method

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!