JavaScript is a client-side scripting language used to create dynamic behaviour in HTML documents. The primary use and benefit is that actions can be performed on the page without the need to reload the page.

All the major browsers support JavaScript, but the user usually has the option to turn JavaScript off. For this reason JavaScript should not be used for essential content on your web site – such as menu navigation.