Hi, I am a newbie too , but I think if processMe() is method of a class , u can call that method using 'this' like $('fullname').value = this.processMe(parameter);
On Thu, Jul 9, 2009 at 8:07 AM, chrysanthe m <chrysant...@gmail.com> wrote: > Hi David > Thanks, but I think I one step further. I am assuming an Ajax.request() > has happened, returned and what I am looking at to understand further is > syntax like this: > $('fullName').value = json.fullName; > for an returned parameter fullName and an html element ID of fullName. I am > wondering, can I do > $('fullName').value =processMe( json.fullName); > which I know the obvious is try it. I will, just trying to get an heads > up. I will report back. Also I am assuming that prototpye is processing > that nomenclature $('fullName') segment and just doing a > document.getElementById. Any insight appreciated. > > > On Wed, Jul 8, 2009 at 12:25 PM, David Behler <d.beh...@gmail.com> wrote: > >> >> I guess you would have to use Ajax.Request to process the returned >> value before updating the designated element. >> >> But I'm beginner and could be wrong here. >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---