Displaying 1 result from an estimated 1 matches for "adv_search".
Did you mean:
ads_search
2006 May 03
3
Graceful degrading AJAX show/hide
...l as i''d like use just one controller and to
not change the page the user is on, just refresh it with the advanced
search now displaying.
I had thought I could pass through a variable from the controller that
could be used to display the advanced search. like so:
<div id="adv_search"
<% unless @display == "show" -%>
style="display: none">
<% end -%>
<%= render :partial => "shared/layout/advanced_search" %>
</div>
I believe in my controller I can use
if !@request.xhr?
to check if it''s an aja...