Skip to content

Version

Since 2020/10

Docs migrated from here

Parameter-Helper

Helper function for getting parameters in address (URL):

1
var param_value = AppGiniParameter.get("param_name");

Examples

Example 1

http://localhost/TABLENAME_view.php? SelectedID=123&parameter1=12345

1
2
var p1 = AppGiniParameter.get("parameter1");
// p1 == '12345'

Example 2

Code

1
2
3
4
let arg = AppGiniParameter.get("test");
if (arg) {
    alert("Parameter:\r\ntest = " + arg);
}

Output