title: Dynamic url (with hash tags) for facebook like - FBML
body: <pre><code>&lt;script&gt;
  var fb_ps_page = window.location.href;
  document.write('&lt;fb:like href=" '+ fb_ps_page +'" send="false" layout="button_count" width="450" show_faces="false"&gt;&lt;/fb:like&gt;');
  &lt;/script&gt;
  </code></pre>
  
  <p>The url is getting updating dynamically by ajax. So I thought I could use the above function, but I'm not sure that it works. (I'm in a dev environment). </p>
  
  <p>Has anyone have any insight to this?</p>