I need to display the last part of a URL using javascript!
I am using this code but this will display the entire URL: