Implementing Modal View

Learn how to manage modal windows and refactor the code to centralize shared functionality of the forms.

Using jQuery UI

We’ve already got a dedicated view to edit our contacts, but now we’ll implement a modal view that will enable users to edit contacts directly from the page listing all contacts:

Press + to interact
A modal window to edit a contact
A modal window to edit a contact

This will enable us to learn not only about managing modal windows but also how to refactor our code to centralize shared functionality of the forms, error display, ...

Ask