Hello

I have got a small piece of code from thefacebook developers page.

It does not work inIE, it sends back an error, I have cleared the caching and loggin into facebook and nothing.

Here is the code:

<a href="#" id="fb-btn-2013"
  onclick="
    window.open(
      'https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(location.href), 
      'facebook-share-dialog', 
      'width=1028,height=768'); 
    return false;"><img src="../../Content/Images/facebook-button.png" alt="Share on facebook" />
    </a>

What is the error that is being caused?

@cmps, yes!
This works, thanks for this.