Skip to content
Related Articles
Open in App
Not now

Related Articles

jQuery UI Resizable disable() Method

Improve Article
Save Article
  • Last Updated : 07 Dec, 2021
Improve Article
Save Article

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 disable() method is used to disable the resizable property of the div element. This method does not accept any parameters.


$( ".selector" ).resizable( "disable" );

CDN Link: First, add jQuery UI scripts needed for your project.

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



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



My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!