apply methods of most objects jquery
<p>e.g.</p>

<pre><code>var $magicLine = $("#magic-line");
var $magicLine2 = $("#magic-line2");
</code></pre>

<p>how do I apply the methods to two objects?
I now use:</p>

<pre><code>$magicLine.width($(".current_page_item").width()
$magicLine2.width($(".current_page_item").width()
</code></pre>

<p>if i use this method the programm not work:</p>

<pre><code>$magicLine.width($(".current_page_item").width()
</code></pre>
