function GenerateQS(){ var strURL = ""; strURL = 'https://portals.uk.rezlynx.net/GrandHPPortal/secure/wfrmPakQueryResults.aspx?'; strURL += "arrdate=" + igdrp_getComboById("wdcArrival").getText() + "&"; strURL += "non=" + document.Form1.ddlNoN.value + "&"; strURL += "ad=" + document.Form1.ddlAdults.value + "&"; strURL += "chl=" + document.Form1.ddlChildren.value + "&"; strURL += "inf=" + document.Form1.ddlInf.value + "&"; strURL += "agentref=" + '' + "&"; strURL += "companyref=" + '' + "&"; strURL += "refco=" + ''; document.forms[0].action = strURL; document.forms[0].submit(); }