Didn't seem to work for me. I might have it wrong.
Code ............... function ajaxRequest2(){ var url = "/cgidev2p/r_chgpwd.pgm"; var pars = 'v_current=' + escape($F('v_current')) + '&v_new=' + escape($F('v_new')) + '&v_confirm=' + escape($F('v_confirm')) + '&sessionid=' + escape($F('sessionid')); var submitObj = document.getElementById('goButton'); new Ajax.Request(url, { method: 'get', parameters: pars, onComplete: function(transport){ // obtain the json you sent var jsonObj = transport.responseJSON; // use it alert('feelingOk:' + jsonObj['feelingOk']); alert('value:' + jsonObj['value']); } }); } JSON ................ {success : true, message : "good"} --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---