add event once in jquery
<p><br/>How can I have something like this :</p>

<pre><code>&lt;input class="myClass" id="a" type="checkbox" other="x"/&gt;
&lt;input class="myClass" id="b" type="checkbox" other="x"/&gt;
&lt;input class="myClass" id="c" type="checkbox" other="x"/&gt;
&lt;input class="myClass" id="d" type="checkbox" other="y"/&gt;
&lt;input class="myClass" id="e" type="checkbox" other="z"/&gt;
</code></pre>

<p>I can retrieve the element a to e, add a click event and I want to add an event on the element define in the attribut <code>other</code> (x, y and z).<br/>
How can I do it?<br/>
I try :</p>

<pre><code>$(".myClass").each( function() {
    $("#" + $(this).attr("other")).click( function() {
        ...
    });
});
</code></pre>

<p>But three elements have <code>other="x"</code> so the event is add three time on x and I want just one.</p>
