Displaying 1 result from an estimated 1 matches for "update_weather_t".
2010 Sep 22
3
how to remote function to get info from url in a javascript function
...ontents(html)
i need to be able to call this function and get new html for it. ( the
html is a table that displays weather data)
here is what i have so far
function replace_weather_table(){
zoomy = map.getZoom();
weather_table_one.setContents(new Ajax.Request(''/weather/
update_weather_tables?zoom=''+zoomy));
};
GEvent.addListener(map,"moveend", replace_weather_table);
i would like to have the contents be those of a partial, but when
executed, the display only shows "[object Object]"
would appreciate any help, thanks
sk
--
You received this message...