jquery: merging text value and function
<p>Just trying to add some text before function's result.</p>

<pre><code>onClick="$('#itempriceqty0').clone().appendTo('#itempricewrapper').attr('id', $('#itempricewrapper').children().length-5+1)"
</code></pre>

<p>So I need to add text: itempriceqty right before this function $('#itempricewrapper').children().length-5+1. So ending result for attr change will be like: itempriceqty3.</p>

<p>Tried this, but did not work:</p>

<pre><code>onClick="$('#itempriceqty0').clone().appendTo('#itempricewrapper').attr('id', 'itempriceqty'+$('#itempricewrapper').children().length-5+1)''"
</code></pre>

<p>Thanks.</p>
