then perhaps we're not understanding what you mean by "passed"

normal process is:
onSuccess: call a function that processes the incoming data
onFailure: tell the user what happened

what gets "passed" is data.
what gets "called" are 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 <jimlong...@gmail.com> wrote:

> Thanks for your response. I'm sorry, I forgot to mention I had tried that.
>  The request is successful (as I mentioned I can pass html and php, just
> not javascript)
>
>
> On Friday, July 27, 2012 7:35:11 AM UTC-4, ppetree wrote:
>
>> Try using the onsuccess on failure parameters in Ajax 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 plain text or html or
>>> php in the external file it will run, but not javascript.
>>>
>>>
>>>   --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/prototype-scriptaculous/-/3bfU0S4hsnQJ.
>
> To post to this group, send email to
> prototype-scriptaculous@googlegroups.com.
> To unsubscribe from this group, send email to
> prototype-scriptaculous+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to