Happy new year everyone :)
Instead of the standard <filter-menu> tags for a table plus, I thought
I'd try and incorporate jquery UI's sliders to set a range and update
the index's table (similar to filter menus).
I'm a little stuck on how to convert the following rails code to
update a table-plus used on a hobo index page.
def index
...
respond_to do |format|
format.html
format.js do
render :update do |page|
page.replace_html 'table-plus', :partial => 'stocks/
stock_list', :locals => { :stocks => @stocks }
end
end
end
end
Since I've got a table-plus element (not using partials), how would I
handle the rendering of a new table-plus consisting of elements
returned by the ajax request in a hobo-esque way?
I had a look at 'part's but couldn't seem to get any updating.
Cheers,
Stu
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" 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/hobousers?hl=en.