title: HTML submit button with forward slash in the onClick
body: <p>I have a very simple form that uses a forward slash in the input button onClick portion. This is a built in form for an application that we use. The application uses IE to process the form.</p>
  
  <pre><code>&lt;BODY onLoad=setFocus(this)&gt;&lt;FORM NAME=fMU METHOD=GET ACTION="http://HammerHead/MU"&gt;
  &lt;TABLE&gt;
      &lt;input type="hidden" name="Beat/Sta" value=""&gt;
      &lt;tr&gt;
          &lt;td COLSPAN=2&gt;
              &lt;input type=SUBMIT onclick="this.form.Beat/Sta.value='B01'" value="BF1" /&gt;
          &lt;/td&gt;
          &lt;td&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;TR&gt;
          &lt;TD&gt;&lt;INPUT TYPE=RESET VALUE="Clear" /&gt;&lt;/TD&gt;
          &lt;td&gt;&lt;/td&gt;
          &lt;td&gt;&lt;/td&gt;
      &lt;/TR&gt;
  &lt;/TABLE&gt;
  </code></pre>
  
  <p>When using the "Beat/Sta" value in the form it does not pass the "B01" value. Because of the "/". I receieve a script syntax error code 0.</p>
  
  <p>I have another button in a separate form that works perfectly but looks like the below, with no "/" in the onClick:</p>
  
  <pre><code>&lt;input type=SUBMIT onclick="this.form.Location.value='home'" value="Home" /&gt;
  </code></pre>
  
  <p>That button works fine and passes the location value of "home"</p>
  
  <p>I've tried to use quotes, double quotes, multiple forward slashes,etc... to try and make sure the / is passed to the function but nothing seems to recognize the "Beat/Sta" value. I can resolve the script errors using quotes but it still will not pass the B01 value to "Beat/Sta"</p>