Generic filters
Exact matches only
  • Javascript Function Basic – Take of first part of url

    29th October 2015

    Javascript

    javascript category codehaven

    This code will show only the last part of any URL

    URL GIVEN : www.codehaven.co.uk/firstpart/secondpart/themainimage.jpg
    URL OUTPUT: themainimage.jpg

    Was this code snippet helpful?