Example: Read query string values in JavaScript the old way

In this example page we have extracted the query string parameter values for param1 and param2 and displayed their values below.

param1 =
param2 =