Re: [Rails] Re: Re: refresh a page using AJAX?

2010-03-17 Thread Bala
Veena, be clear, you want the page to refresh or the div? On Wed, Mar 17, 2010 at 3:55 PM, Veena Jose wrote: > > Hai Nitin, > Now I have made the following changes in my code.But the page is not > refreshing at all.What could be the problem? > > readings controller > > def show_current_readi

[Rails] Re: Re: refresh a page using AJAX?

2010-03-17 Thread Veena Jose
Hai Nitin, Now I have made the following changes in my code.But the page is not refreshing at all.What could be the problem? readings controller def show_current_readings @range=ConfigureParameter.find(:all) if (params[:state] =="") @readings = CurrentReading.find(:all) else