Spry 1.4: Spry.utils.updateContent

Another cool new feature of Spry 1.4, and I don't even have to write a blog entry on it. Bruce Phillips has a blog entry and demo showing off this new feature. At a basic level it gives you a super simple function to change the content of a element with another URL. So an example, if foo was an element, this would replace it with another URL:

Spry.Utils.updateContent('foo', 'mynewdata.cfm');

You can even fire off a function automatically when the data is downloading.

Like This?

If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can also subscribe to the email feed to get notified of new posts.