Strict Standards: Only variables should be passed by reference in /home/adrane3/public_html/phpjquery/template.php on line 9
jQuery Progressive Enhancements - a basic example

Progressive enhancements

Lets you add functionality that will work even if the user does not have Javascript, or if something goes wrong

Let's take a simple example below. At first, the show/hide is reloading the page. But let's add some jQuery to make it smoother, and avoid page reloads.

Show menu

Run

Clear

  • Bind Toggle