robsuttonjr
MIS
At the top of an classic asp page I set the variable:
CustomerID = Request.QueryString("CustomerID")
At the bottom is a back button. When they click it more than once the CustomerID duplicates appending the same value with commas.
<input type="button" value="Next Week ----->" onclick="window.location.href = 'InvoiceItem_list1Week.asp?txtDate=plusweek&CustomerName=CustomerName&CustomerID=<%=CustomerID%>'">
Any ideas on how to prevent appending duplicates?
Regards,
Rob
CustomerID = Request.QueryString("CustomerID")
At the bottom is a back button. When they click it more than once the CustomerID duplicates appending the same value with commas.
<input type="button" value="Next Week ----->" onclick="window.location.href = 'InvoiceItem_list1Week.asp?txtDate=plusweek&CustomerName=CustomerName&CustomerID=<%=CustomerID%>'">
Any ideas on how to prevent appending duplicates?
Regards,
Rob