Displaying 1 result from an estimated 1 matches for "display_network".
2007 Mar 08
1
map not displayed after Ajax.updater request
...s[1]), "contact")
....
from a radio button, an Ajax.Updater request is sent to my
controller to require either table or map build and display...
....
....build table or map ,according to ajax request parameter
if request.xml_http_request?
render :partial => ''display_network'' , :layout => false
end
then in my view
<% if @display_type == "0" %>
.... display table
<% else %>
<div id="map_box" style="border:solid 2px grey; margin:1em auto;
width:340px; height:340px;">
<%= @map.to_html %>
<...