Displaying 2 results from an estimated 2 matches for "evalobj".
Did you mean:
valobj
2005 Dec 22
0
RE: Re: ajax - multiple updates on singlexmlhttprequest
...ow - if yes, how? has anybody
done
> this before?
I''ve successfully used JSON. Here''s a stripped down example:
// ---------------------------
// Handler function: is executed after successful Ajax.Request
var handlerFunc = function(t)
{
// Evaluate returned JSON data
var evalObj = eval(t.responseText);
// Update info container
$(''someId'').innerHTML = evalObj.foo;
}
// Bind the function and do the Ajax request
new Ajax.Request(''script.pl'', {
parameters: ''id=42'',
onSuccess: handlerFunc
});
// -----------------...
2005 Dec 21
5
ajax - multiple updates on single xmlhttprequest
Hello,
I was wondering whether anybody would share a working example of a multiple
html update on a single xmlhttprequest.
Thank you in advance for your help.
_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement