jQuery UI dialog option(optionName) method Last Updated : 22 Jan, 2021 Summarize Comments Improve Suggest changes Share Like Article Like Report This action gets the value currently associated with the specified optionName. optionName's type is String. Syntax: var a = $( ".selector" ).dialog("option","disabled");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: HTML <!doctype html> <html lang = "en"> <head> <meta charset = "utf-8"> <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> <script> $(function() { $( "#gfg" ).dialog({ autoOpen: false, }); $( "#geeks" ).click(function() { var a = $( "#gfg" ).dialog( "option","disabled"); console.log(a) }); }); </script> </head> <body> <div id = "gfg" title="GeeksforGeeks">Jquery UI| option(optionName) dialog method</div> <button id = "geeks">Open Dialog</button> </body> </html> Output: Comment More infoAdvertise with us Next Article jQuery UI Controlgroup option(optionName, value) Method T taran910 Follow Improve Article Tags : JQuery jQuery-UI Similar Reads jQuery UI Accordion option(optionName) Method jQuery UI accordion option(optionName) Method is used to check if a method returns a boolean value representing if an object option exists or not. Syntax: var a = $( ".selector" ).accordion( "option", "disabled" )Parameters: optionName: option to be checked.Return values: This method returns a boole 1 min read jQuery UI dialog option() Method This action gets an object containing key/value pairs representing the current dialog options hash. This method does not accept any argument Syntax: var a = $( ".selector" ).dialog("option"); Approach: First, add jQuery UI scripts needed for your project. <link href = "https://code.jquery.com/ui/ 1 min read jQuery UI Controlgroup option(optionName) Method 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. A controlgroup is used to group various input widgets like checkbox, button, etc. The control group helps to apply common properties 2 min read jQuery UI Spinner option() method 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. jQuery UI spinner widget helps us to increment and decrement values of input element using up and down arrow. In this article, we wil 2 min read jQuery UI Controlgroup option(optionName, value) Method 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. A controlgroup is used to group various input widgets like checkbox, button, etc. The control group helps to apply common properties 2 min read jQuery UI Dialog position Option jQuery UI consists of GUI widgets, visual effects, and themes implemented using HTML, CSS, and jQuery. jQuery UI is great for building UI interfaces for the webpages. The jQuery UI Dialog position Option is used to set the position of dialog box. Syntax: $( ".selector" ).dialog({ position: { my: "le 1 min read Like