Tag

Your search for Last Segment returned 1 result.


Get Last Segment of URL in JavaScript

JavaScript handles strings and arrays very well. Sometime its needed to get the last segment or file name of the current page URL and process it for another JavaScript/Ajax request. Here, I would like to share a fairly easy way. (more…)

Read More