Answers for "how do i return a value from an url url"

1

get value from url

// view.jsp?id=101
let queryString = window.location.search; 
let urlParams = new URLSearchParams(queryString);
let opportunity_id = urlParams.get('id');
Posted by: Guest on September-30-2021

Code answers related to "how do i return a value from an url url"

Code answers related to "Javascript"

Browse Popular Code Answers by Language