Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

jQuery UI Dialog title Option

  • Last Updated : 12 Jan, 2021

The article explains the title option which is used to set the title in the dialog box. By default, its value is null.


$( ".selector" ).dialog({
    title : "title"

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

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



<!doctype html>
<html lang="en">
    <meta charset="utf-8">
    <link href=
    <script src=""></script>
    <script src=
        $(function () {
                autoOpen: false,
                title: "GeeksforGeeks"
            $("#geeks").click(function () {
    <div id="gfg">
        Jquery UI| resizable dialog option
    <button id="geeks">Open Dialog</button>


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!