or the way to do it is to evalJS in the Request and put the javascript in the reposnse
----- Original Message ----- From: "James Hoddinott" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, November 05, 2008 4:51 PM Subject: [Proto-Scripty] Re: In a bind... > > 2008/11/5 Alex Mcauley <[EMAIL PROTECTED]>: >> another thought is that onSuccess isnt being fired ... >> >> Try to onSuccess: function(evt) { >> alert(evt.responseText); and see if it reposnds with some html or >> whatever >> your php script is echoing > > I tried that one :) > >>> By adding an alert() to the >>>onSuccess function I was able to see that the function does get called >>>but I think it still stalls on the invoke line. > > I'm beginning to be convinced that the problem is that the onSuccess > function is being called too soon and therefore the elements are being > observed before they are available in the DOM. > > Walter's post gives me some food for though on this, I think I shall > cobble together something akin to that and see if that works. > > -- > James Hoddinott > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
