From the course: Learning jQuery UI

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

The Dialog widget

The Dialog widget - jQuery Tutorial

From the course: Learning jQuery UI

Start my 1-month free trial

The Dialog widget

- Dialogs are another fairly common feature of modern web applications, and they're used to display information to the user in usually a modal fashion, but sometimes non-modal, and they appear when they pop up in response to the user either doing something or the program running into some situation where it needs to show some information to the user. In this movie, we're going to take a look at jQuery UI's support for dialogs. Here in the snippets, I've scrolled down to the dialog section, and we're going to open up Dialog_start. Now, before we make any changes, let's take a look at the content. So, I've got three sections. One for a Basic Dialog. One for one with Controls, and then I'm gonna show how can customize some dialog options. So, let's go ahead and make our first Basic Dialog. So we'll scroll back up here, and in the snippets, let's copy these first few lines of code, and we'll paste it into the document ready functions so when the page loads, we'll make our dialog. So, you…

Contents