SOW how to get url params ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
var url = new GlideURL(window.location.href);
var paramValue = url.getParam('myparam');
if (paramValue) {
console.log('Parameter exists with value:', paramValue);
} else {
console.log('Parameter does not exist.');
}
(g_env) [SCRIPT:EXEC] Error while running Client Script "Incident Demo01": ReferenceError: GlideURL is not defined
why ? How to do ?
0 REPLIES 0
