[Proto-Scripty] Re: run function with AJAX.Updater

2012-07-27 Thread Jim Longo
> > P.S. The reason I haven't tried Jason's code yet, was there were too many > elements in there that I didn't understand at all, and I'm loathe to open > any more wormholes. But I'll take another look at it. > -- You received this message because you are subscribed to the Google Groups "Pr

Re: [Proto-Scripty] Re: run function with AJAX.Updater

2012-07-27 Thread Jim Longo
meters: $('myform').serialize(), >>> onSuccess: success_function, >>> onFailure: ajax_err, >>> on0: ajax_err >>> }; >>> new Ajax.Request( url+".php", options ); >>> function success_function(transport) >>

Re: [Proto-Scripty] Re: run function with AJAX.Updater

2012-07-27 Thread Jim Longo
re functions. > > having code in an external file indicates to me you want to call a > function. > > I think a little more clarity might help us help you. > > On Fri, Jul 27, 2012 at 10:21 AM, Jim Longo wrote: > >> Thanks for your response. I'm sorry, I forgot to

Re: [Proto-Scripty] Re: run function with AJAX.Updater

2012-07-27 Thread Jim Longo
jax updater. > > onFailure: function() {alert("bombed");}, > onSuccess: ... > On Jul 27, 2012 12:04 AM, "Jim Longo" wrote: > >> If it helps, I can replace the js with something real simple (an alert) >> and it still won't run in the AJAX page. If I put

[Proto-Scripty] Re: run function with AJAX.Updater

2012-07-26 Thread Jim Longo
I simplified the javascript file to just show an alert. And took the quotes off of the evalScripts:true. The AJAX page will fetch text, html, php but not javascript. Still looking at numerous tutorials and the documentation but it's pretty sparse and contradictory in a lot of places. > >> >>

[Proto-Scripty] Re: run function with AJAX.Updater

2012-07-26 Thread Jim Longo
If it helps, I can replace the js with something real simple (an alert) and it still won't run in the AJAX page. If I put plain text or html or php in the external file it will run, but not javascript. On Thursday, July 26, 2012 12:22:54 PM UTC-4, Jim Longo wrote: > > Hi, I&#x

[Proto-Scripty] run function with AJAX.Updater

2012-07-26 Thread Jim Longo
Hi, I'm very new to this so excuse my ignorance. I've simplified this, but basically I have a function in an external js file that I want to be able to re-run from my page using AJAX.Updater So in my html page I have the following section. A div I want to replace, a function containing the Updat