title: OnClick suddenly not working on Google Sites in Chrome
body: <p>I wrote a page that used buttons with onclick to call a function as part of a set of practice problems and answers for my students.  It has worked since July with no issues through Friday, September 5 at least.  Today the buttons fail to function at all in Chrome, and I can't figure out why for the life of me.  They do continue to function properly in IE.  </p>
  
  <p>I've posted the simplest code I could write that won't work below.  It's awfully simple, and honestly I think it's fine.  It seems to work if I paste the entire thing into JSFiddle's HTML box, but if I try to separate the script it doesn't do anything.  I don't know whether that's because it's broken or because I am separating it incorrectly though.</p>
  
  <p>I'm having trouble trying to debug it, largely because Google Sites completely rewrites your work into its own format which is more or less unreadable without being made of silicon.  When I load this and try to click, I do get an exception:</p>
  
  <pre><code>Uncaught Error: shouldn't happen: ES5/3 object passed to makeDOMAccessible
  </code></pre>
  
  <p>But I have had absolutely no luck with figuring out what is happening there, or whether that is even really the problem or not.</p>
  
  <p>I've read a lot about Google Sites being picky with Javascript, and I don't know whether the issue is with Sites or Chrome or the two together or what, but it's something that I'd like to get sorted out, as the bulk of my students and I primarily use Chrome.</p>
  
  <p>All of the code below is going into an inserted HTML box as written, just FYI.</p>
  
  <p>Apologies if this turns out to be a duplicate; I searched for quite a while and couldn't find a solution.</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  &lt;button onclick="Check()"&gt;Push Me&lt;/button&gt;
  
  &lt;script&gt;
  function Check() {
      alert("It worked");
  }
  &lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Any suggestions for fixing what I've got (if it's even broken) or redoing it in a straightforward way that would work with Sites and Chrome would be welcome.  Thanks in advance.</p>
  
  <p><a href="https://sites.google.com/a/sheridan-schools.org/ap_chemistry_2014/resources/units/unit-01---stoichiometry/unit-01-2---limiting-reactants-and-percent-yield" rel="nofollow">Here is one full page that was working previously in Chrome and is no longer</a>.  It displayed the rows of a table as you pressed the various buttons.</p>
  
  <p>EDIT: This appears to work in older versions of Chrome.  I guess I need to hit up the Chrome forums with this issue.</p>