Open In App

jQuery UI Dialog resize Event

Last Updated : 23 Jul, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

jQuery UI resize event is triggered when the dialog box is resized.

Learn more about jQuery selectors and events here.

Syntax:

$(".selector").dialog (
   resize: function( event, ui ) {
       console.log('resized')
   },

Approach:

  • First, add jQuery Mobile scripts needed for your project.
<link href = "https://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css" rel = "stylesheet"> <script src = "https://code.jquery.com/jquery-1.10.2.js"></script> <script src = "https://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>

Example 1:

Output:


Article Tags :

Similar Reads