JQUERY + Update HTML Code with Variable
<p>Below is code that sits in an iframe.</p>

<p>I'm able to get the variable 'url' from the parent document and can see it in the alert.</p>

<p>I need to be able to update the 'http://www.domainname.com' text in the fb:like-box.</p>

<p>What is the best way to do this?</p>

<p>thx</p>

<pre><code> &lt;script type="text/javascript"&gt;
 $(function () {
   var url = $('div#facebookURL', window.parent.document).text();
   alert(url);
 });
 &lt;/script&gt;
 &lt;div id="fb-root"&gt;&lt;/div&gt;
 &lt;fb:like-box href="http://www.domainname.com" width="237" height="498" show_faces="true"      stream="false" header="true"&gt;&lt;/fb:like-box&gt;
</code></pre>
