title: Get arguments from multiple function used in html
body: <p>I have the following function</p>
  <pre><code>function show(x) {
  document.querySelector(x).classList.toggle('hide');}
  </code></pre>
  <p>I am using it on html</p>
  <pre><code>&lt;button onclick=&quot;show('p')&quot;&gt;Button 1&lt;/button&gt;
  &lt;p&gt;This is p&lt;/p&gt;
  &lt;button onclick=&quot;show('div')&quot;&gt;Button 2&lt;/button&gt;
  &lt;div&gt;This is div&lt;/div&gt;
  </code></pre>
  <p>Hide by default</p>
  <pre><code>window.onload = show('p');
  </code></pre>
  <p>Now I want to get all show() arguments so that window onload dinamicly change whatever the queryselector is.</p>