In any web project you will inevitably come across a situation where being able to extract information or use the current page URL would be useful. If server-side code is not available to help we can use javascript to get this information.
The following are examples of useful code snippets that can be used – some of the examples use … more












