jquery + prepend text not working
<p>I have this following code:</p>

<p><pre><code>
$(".preview").find("#panel").each(function(i, val) {
    var x = "" + $(val).html();
    $(x).find(".dmPageHeadline").prepend(" 1 - ");
    console.log($(x).html());
    html += $(x).html();
});
</pre></code></p>

<p>This code iterates through all accordion panels, concatenates its content and add " 1 - " to the header ( class "dmPageHeadline" ).
Probably it's a simple detail, but i cannot figure it out... this line <pre><code>$(x).find(".dmPageHeadline").prepend(" 1 - ");</code></pre> doesn't preprend the desired text.</p>

<p>Anyone can point me out what is wrong here?</p>

<p>Thank you very much and happy new year !
Teixeira</p>
