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 have
stumbled upon the answer, by accident more than skill...

I changed this function:

>> function loadIncidentAjax() {
>>         //Elements within the incident
>>         new Ajax.Updater('respanel','data/fetchrespanel.php',{method:'get'});
>>         new Ajax.InPlaceCollectionEditor('istate','data/updateticket.php',{
>>                 collection:['Normal','Restored','Blocked','Barred'],
>>                 onComplete:updateAfterServiceChange
>>         });
>>         ...
>>
>> }

so that onComplete reads:

 onComplete:function(form,val) {
  updateAfterServiceChange(val);
 }

and this now has:

>> function updateAfterServiceChange(val) {
>>     var v = val;

 var v = val.innerHTML;

>>     new Ajax.Updater('respanel','data/fetchrespanel.php', {
>>         parameters:'f='+v
>>     });
>>
>> }

and it seems to work.

-- 
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 prototype-scriptaculous@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to