Let the user select an item in a modal dialog

After having used the shiny new YUI3 library for a project, it’s about time to share my YUI3 experiences with you. For the project I built an item selector: A modal dialog is openend and the user has to select an item. After selection the dialog is closed and the selected item is passed to a callback function. Here you can find the full source for the item selector. An example to use the selector can be as simple as this:...

August 5, 2009 · 1 min · admin