setting innerHTML for all browsers in javascript
<p>I want to load contents of a DIV dynamically in javascript.I used this code</p>

<pre><code> var strHtml="&lt;h3&gt;Test&lt;/h3&gt;";
 var div = $("#divPrice");  
 div.innerHTML=strHtml
</code></pre>

<p>This works in IE. But not in firefox.Whats the alternative of this which works on all browsers ?</p>
