How to get onclick value in JS
<p>Let's say, that I have on my site something like this:</p>

<pre><code>&lt;a href="" onclick="lol(222)"&gt;
&lt;a href="" onclick="lol(223)"&gt;
&lt;a href="" onclick="lol(212)"&gt;
&lt;a href="" onclick="lol(122)"&gt;
</code></pre>

<p>And then I would like to parse it to get in the <code>match</code> variable all values in <code>lol()</code></p>

<p>Like this:</p>

<pre><code>match[0] = 222;
match[1] = 223;
.....
</code></pre>
