11.07.2015 Views

AJAX and PHP

AJAX and PHP

AJAX and PHP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Client-Side Techniques with Smarter JavaScript}xmlRoot = xmlResponse.documentElement;// obtain arrays with book titles <strong>and</strong> ISBNstitleArray = xmlRoot.getElementsByTagName("title");isbnArray = xmlRoot.getElementsByTagName("isbn");// generate HTML outputvar html = "";// iterate through the arrays <strong>and</strong> create an HTML structurefor (var i=0; i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!