onclick call jQuery function
<p>I have form with actively populated elements, something like:</p>

<pre><code>&lt;input id="id1" type="button" name="some_name"&gt;
&lt;input id="id2" type="button" name="another_name"&gt;
</code></pre>

<p>etc.</p>

<p>My options are limited here.</p>

<p>I do not know id, as it is assigned by system dynamically (see: 1,2 next to id), so I cannot call JQ function by #.
Order of elements change, they are shown in different sets etc.</p>

<p>Class manipulation is not practical.
Same goes for any other attrib - pretty much - some are used, some may be used - again - dynamically, so I do not want to mess with it.</p>

<p>I can attach a js event thou (during form generation), e.g. onClick to particular, desired item.</p>

<pre><code>&lt;input id="id1" onClick="myFunc()" type="button" name="some_name"&gt;
&lt;input id="id2" type="button" name="another_name"&gt;
</code></pre>

<p>I would not need to know id, class or anything in standard JS, since if element with myFunc is clicked, function is fired.</p>

<p>Is it possible to accomplish something similar with JQ?</p>
