title: In an onchange event, can you pass parameters that are not the current control?
body: <p>If I have a function:</p>
  
  <pre><code>function passSomeParams(p0, p1) {
      window.Location.href = "/something/anotherthing.aspx?firstParam=" +
          p0 + "&amp;secondParam=" + p1;
  }
  </code></pre>
  
  <p>Can I pass inputs other than the current control? I wanted to do something like this below, but wasn't able to get it to work or find resources online mentioning if it was possible or not.</p>
  
  <pre><code>&lt;asp:CheckBox runat="server" ID="chkCheckboxA" /&gt;
  &lt;asp:CheckBox runat="server" ID="chkCheckboxB"
      onchange="passSomeParams(this.value, chkCheckboxA.value)"/&gt;
  </code></pre>
  
  <p>Thanks. I appreciate the help.</p>