a simple demo of jQuery functionality