MANAGING ELEMENTS

Progressive enhancement - part 2

This page shows some others examples of Progressive enhancement design.

We use the html() and text() functions to modify the first and last "place holder" paragraphs (those you saw before clicking OK on the alert prompt).

Then we use the remove() function to remove the unmodified paragraphs (this removes also related handlers and data).
This process exploits the :contains() filter, based on the content of the HTML element.

See the HTML source for details.

Place holder

Place holder

Place holder

Place holder

Place holder

Sources

HOME