jquery multiple and changing ids selectors
<p>i got a simple qiestion, i want to show and hide my divs according to their idies, but couldnt figure out, for example i have a different divs and inputs with different ids:</p>

<pre><code>&lt;input onfocus="showtip(1)" onblur="hidetip(1); /&gt;
&lt;div id="tip1"&gt;&lt;/div&gt;
&lt;input onfocus="showtip(2)" onblur="hidetip(2); /&gt;
&lt;div id="tip2"&gt;&lt;/div&gt;
</code></pre>

<p>and</p>

<pre><code>function showtip(id) {
    $('.tip[id]').show('slow');
}
function hidetip(id) {
    $('.tip[id]').hide('slow');
}
</code></pre>

<p>i can write it in javascript, to make it work, but i cant hide it with animation, thus i used jquery, but i can't define ids :( thank you all for the help! i really appreciate it!</p>
