In Dynamics CRM 2016, I am able to pass some parameters to the other form using query string but I am unable to check if a particular element is exist in query. I tried using indexOf for check index, includes to varify if element is exist but I cannot made a way through. I would like to hear from experts to get the length or if an element is exist in query string parameter.
function getQueryStringLength()
{
var param = Xrm.Page.context.getQueryStringParameters();
var chkElem = param.includes("new_orderid");
alert(chkElem);
}