Hai Anthony, I didn't get the ajax part working.Ths is my code.Can you plz help me....
layout (home.html.erb) ...................... <div id="time_div"><h4 align="right"><%= @time %></h4></div> <%= observe_field :time_div, :url => {:controller=>"home",:action => :show_time },:frequency => 0.25, :update => :time_div %> Controller .......... class HomeController < ApplicationController def show_time @time=Time.now render :partial => "time", :object => @time end views/home/_time.html.erb .......................... <h4 align="right"><%= @time %></h4> Thanks, Veena -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.