Answers for "how to get id from url in javascript"

0

how to get id from url in javascript

var baseUrl = (window.location).href; // You can also use document.URL
var koopId = baseUrl.substring(baseUrl.lastIndexOf('=') + 1);
alert(koopId)//503
Posted by: Guest on June-02-2021

Code answers related to "how to get id from url in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language