How to access an element that is placed next to it?
<p>I have following html structure:</p>

<pre><code>&lt;span class="thump"&gt;1&lt;/span&gt;
&lt;a class="tp" href="#" programm="5"&gt;Post&lt;/a&gt;
</code></pre>

<p>Now I want to write thump according to programm attribute. This is how I get the the a element according to the programm number:</p>

<pre><code>$("a.tp[programm='" + programm + "']");
</code></pre>

<p>How do I refer to the thump element that is next to this a element?</p>
