Veena Jose wrote:
> Thank u Nithin for your detailed explanation...
> But i am still not able to do the ajax functionality...
> 
> I hav added <%= javascript_include_tag :defaults %> in my "admin" layout
> 
> Controller :
> 
> class ReadingsController < ApplicationController
>   layout "admin"
> 
>   def index
>     @time=Time.now
>     @locations= Station.find(:all,:group => "state",:order =>"state")
>     @district=Station.find(:all)
>     @readings= CurrentReading.find(:all)
>     @range=ConfigureParameter.find(:all)
>   end
> 

> end
> 
Hi,
If you are using jquery,you can see e.g
which is  similar
http://github.com/amardaxini/Ajax-Demo

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to