[Proto-Scripty] Re: Passing variables after an onComplete

2008-11-20 Thread Tocorr
new Ajax.Autocompleter('FIELD','lista1','test.php',{minChars: 1, indicator: 'indicator1', frequency:0.6, afterUpdateElement: getSelectionId, callback:mycallback}); function getSelectionId(text, li) { document.getElementById('TEST').value = li.id; }

[Proto-Scripty] Re: Passing variables after an onComplete

2008-11-20 Thread James Hoddinott
2008/11/19 EMoreth <[EMAIL PROTECTED]>: > I don't know if i really understood the problem here... > > But onComplete gets a XMLHttpRequest object. that has your server > response on XMLHttpRequest.responseText. in your case: > val.responseText. > > Passing val as a parameter is a fully new Object

[Proto-Scripty] Re: Passing variables after an onComplete

2008-11-19 Thread EMoreth
I don't know if i really understood the problem here... But onComplete gets a XMLHttpRequest object. that has your server response on XMLHttpRequest.responseText. in your case: val.responseText. Passing val as a parameter is a fully new Object as a value of parameter. This is not allowed... Had

[Proto-Scripty] Re: Passing variables after an onComplete

2008-11-19 Thread James Hoddinott
2008/11/18 Matt Foster <[EMAIL PROTECTED]>: > >> No, its all POST methods being used here. > >> >> new >> >> Ajax.Updater('respanel','data/fetchrespanel.php',{method:'get'}); Ah, that looks to be an error between whats on my server and what I pasted into my email; I must have altered it

[Proto-Scripty] Re: Passing variables after an onComplete

2008-11-18 Thread Matt Foster
> No, its all POST methods being used here. > >>         new > >> Ajax.Updater('respanel','data/fetchrespanel.php',{method:'get'}); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" grou

[Proto-Scripty] Re: Passing variables after an onComplete

2008-11-18 Thread Alex Mcauley
messy but if it a'int broke dont fix it is my motto !! - Original Message - From: "James Hoddinott" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 18, 2008 5:44 PM Subject: [Proto-Scripty] Re: Passing variables after an onComplete > > 2008/11/18 Ma

[Proto-Scripty] Re: Passing variables after an onComplete

2008-11-18 Thread James Hoddinott
2008/11/18 Matt Foster <[EMAIL PROTECTED]>: > Well if you're request method is GET and you're looking in POST, there > could be some issues, make sure you're using and expecting the same > method type on the client and the server. No, its all POST methods being used here. However, I do seem to ha

[Proto-Scripty] Re: Passing variables after an onComplete

2008-11-18 Thread Alex Mcauley
should parameters not be wrapped like so parameters : { f: v; } - Original Message - From: "James Hoddinott" <[EMAIL PROTECTED]> To: Sent: Tuesday, November 18, 2008 12:56 PM Subject: [Proto-Scripty] Passing variables after an onComplete > > I'm stumped again :( I have the

[Proto-Scripty] Re: Passing variables after an onComplete

2008-11-18 Thread Matt Foster
Well if you're request method is GET and you're looking in POST, there could be some issues, make sure you're using and expecting the same method type on the client and the server. On Nov 18, 7:56 am, "James Hoddinott" <[EMAIL PROTECTED]> wrote: > I'm stumped again :( I have the following HTML w