> I also actually like getting a >> JavaScript object with which I can work rather than being forced to >> get back HTML to use in an object's innerHTML property. > >Care to elaborate with an example James? > >So far I love getting back the HTML string....makes changing the UI dead >simple
I'm not James, but I think it really varies on what you're trying to do. If you're updating a block of content--then returning a chunk of raw HTML makes the most sense. If you're just updating certain "values" on a page, then returning a native JS object makes a ton of sense. -Dan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244648 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

