Hi Everyone, new to prototype, and need some help. Thanks in advance
for reading this.
Basically I am connecting to a php script, passing some values to it,
and putting whatever it returns into the div 'paidDiv'. However, I
have another div I need to update in addition to paidDiv. How would I
do that?
Here is my javascript:
/* ajax.Request */
function ajaxRequestPaid(url,data) {
var aj = new Ajax.Request(
url, {
method:'get',
parameters: data,
onComplete: getResponsePaid
}
);
}
/* ajax.Response */
function getResponsePaid(oReq) {
$('paidDiv').innerHTML = oReq.responseText;
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---