Background Over the past few years, jQuery has dominated the web development community with its simple, yet brilliant, API. The “find elements, do something†pattern and ability to chain function calls together combine to create code that reads like English. jQuery’s simplicity and almost nonexistent learning curve have made it extremely popular among developers and… Continue reading Building stateful jQuery plugins
Category: jQuery UI
Creating dialogs on demand
In a previous article, I explained how to load a page into a dialog. The article focused on a simple solution to keep it easy to understand. However, that simplicity does come with a drawback; the page contents are loaded immediately after the document is ready, even if the user never opens the dialog. In… Continue reading Creating dialogs on demand
Loading a page into a dialog
I previously showed the basic usage of the jQuery UI dialog. In this article, I’ll show how to open a page in a dialog. We’ve all been to sites where there’s a help link that opens a popup with some short help text. This is usually done with a simple window.open call attached to the… Continue reading Loading a page into a dialog
Basic usage of the jQuery UI dialog
The jQuery UI dialog, like many jQuery UI plugins, is extremely easy to get started with but has a few areas that causes new users some trouble. One of the most commonly asked questions on the jquery-ui list is “Why does my dialog only open once?” In this article I’ll explain the problem these users… Continue reading Basic usage of the jQuery UI dialog