Answers for "value for 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 "Javascript"

Browse Popular Code Answers by Language