jQuery .get response as javascript/html
<pre><code>jQuery(document).ready(function() {
    jQuery('.bnr').each(function() {
        var group = jQuery(this).attr('adgroup');
        var obj = jQuery(this);
        jQuery.get("http://www.example.com/ads.php",
    { 'adGroup': group },
    function( response ) {
            obj.html( response );
        }
    );
    })
});
</code></pre>

<p>I'm trying to load ads using jQuery. The ads.php return affiliates code. Problem is when the return response is javascript. All works only if response is html. Using eval() do not work or i'm missing something.
response example:</p>

<pre><code>&lt;script type="text/javascript" src="http://adserving.unibet.com/ad.aspx?pid=1234&amp;pbg=123"&gt;
</code></pre>
