A simple way to QueryString using JQuery
This library allows to facilitate the use of querystrings in JQuery.
JQuery (tested on 3.6.0)
Firstable you have to initialize the object
var req = new request();
req.init();
req.queryString(ParameterName);
retrieve the parameter list {name: parameter_name, value: parameter_value}
req.search_parameters;
req.addQSParameter(txtName,txtValue);
or
req.addQSParameter(txtName,txtValue,false);
req.addQSParameter(txtName,txtValue,true);