SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use This link for created a ribbon on my web part.

I run the solution and it is OK. but when i change the JavaScript code it is run the old code.

I remove the JavaScript code in solution and add again. But again, the old code runs.

share|improve this question
This question title is a bit misleading. It is highly recommended NEVER to change the contents of sp.ribbon.js, as this will put your environment into an unsupportable state, and chances are the next CU update will overwrite the changes anyway. – James Love Jul 24 '12 at 10:07
up vote 1 down vote accepted

Clear your browser temporary files and try. Even if this doesn't solve the issue then issreset your server.

share|improve this answer
Thanks a lot :) – ar.gorgin Jul 24 '12 at 6:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.