Formating text + creating elements with JQ
<p>I have two pieces of jquery code, they work perfectly separate, but together - no.</p>

<p>Basicaly, there is code that generates textareas (with different id's), and code that allows text in textareas to be formated. When text in textarea is bolded, it needs to stay like that, when i generate second textarea, and bold it, it need to stay bolded as well. Here it is:</p>

<pre><code>&lt;button id="bold"&gt;B&lt;/button&gt;
&lt;button id="add_txt"&gt;Add txtarea&lt;/button&gt; 

&lt;div id="vk_main"&gt;


&lt;/div&gt;

var c = 0;
$.activeEl = $();

$('#add_txt').on('click', function() {
    var $div = $('&lt;textarea id="ta_' + (c) + '"&gt;Text here.&lt;/textarea&gt;');
    $('#vk_main').append($div);
});

$("textarea").focus(function() {
    $.activeEl = $(this);
});

$("#bold").click(function() {
    $("textarea").css("font-weight", "");
    $.activeEl.css("font-weight", "bold");
});
</code></pre>

<p>WORKING EXAMPLE: <a href="http://jsfiddle.net/JohnnyNT/qhjJs/" rel="nofollow">http://jsfiddle.net/JohnnyNT/qhjJs/</a></p>
