How to get id (any parameter) from url using jquery?
March 14, 2020
Get id (any parameter) from url using jquery?
var query = window.location.search.substring(1);
var vars = query.split("=");
var ID= vars; alert(ID);
Once a legend said “Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” – Martin Fowler.
let’s share this idea
A problem is just the absence of an idea to solution... Lets exchange thoughts
Leave a Reply