in General

Quick jQuery example

This is a very quick jQuery example which shows a “Run” link, and when you click on the link a message should appear underneath it.

Put the following the your head part of your HTML document. (Note you may require to change the path of where you have installed jQuery.


And put this within your body of your page;


Run

Congratulations! You just ran a snippet of jQuery code. Wasn't that easy?

And that’s it!