If you're interested in functional programming, you might also want to checkout my second blog which i'm actively working on!!

Monday, November 9, 2009

Advanced Javascript: part 3

UTIL.IO

When creating fast webpages you're bound to do partial updates of your page sooner or later. So instead of completely generating full html tables server side, you might want to consider fetching your data in JSON format when certain events happen.

Anyway, the snippet below allows you to do just so.














Now to make an asynchronous request becomes very simple.

IO.AsyncRequest(
"GET",
"http://www.mytabledata.nl",
callbackmethod,
this,
null);

No comments:

Post a Comment