How to work with attribute of html elemnt when html is stored in variable
<p>here is my sample html which is stored in a variable.</p>

<pre><code>var sHtml=''
sHtml='&lt;div class="diagnostic_picture"&gt;&lt;img src="test1.gif" /&gt;&lt;/div&gt;';
sHtml=sHtml + '&lt;div class="diagnostic_picture"&gt;&lt;img src="test2.gif" /&gt;&lt;/div&gt;';
sHtml=sHtml + '&lt;div class="diagnostic_picture"&gt;&lt;img src="test3.gif" /&gt;&lt;/div&gt;';
</code></pre>

<p>now i want to know how could i add another attribute called delaySrc to all the images which is stored as html in a variable.</p>

<p>please help me to achieve it using jquery. thanks</p>
