Chapter 4. Rendering the Response with XHTML and CSS


Now that we have covered how to request data with the XHR object and parse the response, we are ready to render and display the data in a browser. There are many ways to handle displaying the data that we receive from an XHR response; in this chapter, we will be focusing on using XHTML and CSS. XHTML and CSS will render our data and keep it easy to manipulate through JavaScript via DOM. This solution is the perfect answer to rendering Ajax data and creating easy-to-manipulate HTML elements.



Ajax for Web Application Developers
Ajax for Web Application Developers
ISBN: 0672329123
EAN: 2147483647
Year: 2007
Pages: 129
Authors: Kris Hadlock

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net