[Proto-Scripty] Re: how to update a function with a remote call

2010-09-24 Thread nephish
; here:http://api.prototypejs.org/ajax/ajax/request/http://proto-scripty.wikidot.com/prototype:how-to-bulletproof-ajax-re... > > HTH, > -- > T.J. Crowder > Independent Software Engineer > tj / crowder software / com > www / crowder software / com > > On Sep 22, 7:22 pm, ne

[Proto-Scripty] Re: how to update a function with a remote call

2010-09-23 Thread nephish
handle failures as well. > > More > here:http://api.prototypejs.org/ajax/ajax/request/http://proto-scripty.wikidot.com/prototype:how-to-bulletproof-ajax-re... > > HTH, > -- > T.J. Crowder > Independent Software Engineer > tj / crowder software / com > www / crowder so

[Proto-Scripty] how to update a function with a remote call

2010-09-22 Thread nephish
I am working with a javascript function called Elabel, part of the Google maps api the Elabel has a function called setContents(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_we

[Proto-Scripty] Re: having trouble with periodic execution with a map

2010-09-21 Thread nephish
+ ". Click me."); >     // Create a function that accepts an argument >     (function(thisIndex) { >       div.observe('click', function(event) { >         event.stop(); >         // Use the argument >         alert("thisIndex = " + thisIndex); >    

[Proto-Scripty] having trouble with periodic execution with a map

2010-09-21 Thread nephish
Not sure if my problem is the javascript function, or how i have the PeriodicalExecuter set up. The action works, the element is updated with new info, but the old contents are not removed. map.addOverlay(weather_table_one); // action when map is moved function replace_weather_tab