problems with changing contents of a page

Look in development.log to see what it says is happening when you
click the button. Also see the Rails Guide on debugging for
techniques that can be used to debug your code.

Colin

simply i want to use jquery in my rails apps so that the whole page will not refresh only the content part inside my page get changes…what is the solution for this and where i will have to use this…and any sample code for this???

This shows the reason that one should ask a question clearly, using
complete sentences. Your initial post with a number of random phrases
interspersed with dots gave the exact opposite impression, that your
code currently refreshed only part of the page and that was what you
were trying to avoid.

Google for
rails 3 ajax jquery
and you will get multiple hits that should get you going.

Colin