Error When Adding Pinterest Button to Web Site

The other day I had time to go back and look into some errors that I was getting on a web site that I was building. It did not affect the performance or any of the functionality (at least that is what I thought) but it was very annoying to always have to hit the F5 key during debug in VS 2012. I got busy and determined to finish the site, published it and the client really liked it but now was the time for me to go back and look at what was causing this error. The error I am referring to is the error that is an indication that the browser was quicker than the download or the same error when a javascript CDN is offline, but I knew this was not the case.

When I first read the web site about loading the libraries up, they would say that you needed to load up their (pinterest) Javascript library immediately. In fact as of today it still says it. So I loaded it right after I loaded all of my other Javascript libraries. That was ultimately the problem. Because now that I have some time and went back to re-read the article I noticed that they added right after that they added another statement. (I guess it could have been there before).


If you are a developer than loading up a Javascript immediately and placing it right before the closing tag are not the same. I believe they should remove the part about loading it immediately. When I did that problem solved.

Looking for quality web hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , | Posted under ASP .NET 4.0, Programming/Coding | RSS 2.0

Author Spotlight

David Bauernschmidt

I live in the historical triangle of Virginia where I am married with two daughters. I have spent over 13 years working for a Fortune 500 company in the computer area. I started in VB 6.0 and by the time I ended my employment I was supervising a development team where we built many web applications. When my first daughter was born I wanted to spend more time with her so I left and became a programmer analyst for local government as well as launch my own company. Since then I have grown James River Webs into a profitable web design and application company helping small businesses create a big presence on the internet. As an employee I have created web application used by citizens and other companies. I enjoy fly fishing, and spending time with my family. I also enjoy learning new approaches and development tools when it comes to developing applications.

Leave a Reply

Your email address will not be published. Required fields are marked *