jquery append to element when it appears with ajax displaytag
<p>Lets say I may (but also may not) have an element with class <code>order</code> in my DOM.
It maybe create on page load but also, after successful ajax request. My question is, how can I add some live event, that will append something to my element based on it class?</p>

<p>Flow would be like this:</p>

<p>1.Opening page, jQuery searchs for elements with class <code>order</code>, if found, appends something to them (for this question lets say its text <code>"text string"</code><br/>
2.I do an ajax request<br/>
3.After ajax request jQuery searchs again for class <code>order</code> and append if found</p>

<p>There is one condition, I DON'T want to trigger any function searching for elements after ajax request, I'd prefere some magic trick with <code>.live()</code> function, if it is possible of course.</p>

<p><strong>EDIT</strong> Exact problem</p>

<p>What I was really trying to achive, is appending an img to certain class within newly loaded DOM.
<br/>From the beginning:</p>

<ol>
<li><p>I tried to implementing sortable/paginable table with displaytag and ajax.</p></li>
<li><p>Then adding (also Ajax) search list filtering.</p></li>
<li><p>After table is reloaded with Ajax, append images (up or down icon depending on sorting type)</p></li>
</ol>

<p>See my answer for results</p>
