javascript get last url segment
console.log(this.href.substring(this.href.lastIndexOf('/') + 1));
Also in JavaScript:
- jquery close another dialog
- sort data according to date in js
- javascript modify href attr
- string and charater alphabet order
- jquery create element properties
- closure javascript mdn
- js join a list of items with a number
- how will it look when there is a container inside a a row bootstrap
- jquery-3.5.1.min.js download
- loop over json javascript
- node cluster
- react materialize cdn
- how to print numbers in javascript
- get element by tag name
- search input at array javascript
- how to install reveal.js from node
- jquery edit iframe content
- adding a default option in switch statements
- validatorjs number
- js key in dict
- disregard empty field in array
- javascript void(0) href
- remove the items in array which are present in another javascript
- hoe lang is 50000 uur