2007 2009 Marco Papa Ellis Horowitz 65 Enhanced Test Page contd var heightNode

2007 2009 marco papa ellis horowitz 65 enhanced test

This preview shows page 65 - 71 out of 84 pages.

© 2007-2009 Marco Papa & Ellis Horowitz 65 Enhanced Test Page (cont’d) var heightNode = document.createElement( 'td' ); heightNode.innerHTML = height.toString(); trNode.appendChild( heightNode ); dto.appendChild( trNode ); } load_slides( items ); start_slides(); } } function loadXMLDoc( url ) { req = false; if(window.XMLHttpRequest) { try { req = new XMLHttpRequest(); } catch(e) { req = false; } } else if(window.ActiveXObject) { try { req = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { try { req = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) { req = false; } } } if(req) { req.onreadystatechange = processReqChange; req.open("GET", url, true); req.send(""); } } loadXMLDoc( "" ); </script> </body> </html>
Image of page 65
© 2007-2009 Marco Papa & Ellis Horowitz 66 Browser Output
Image of page 66
© 2007-2009 Marco Papa & Ellis Horowitz 67 Make Yahoo! Web Service REST Calls with JavaScript and XMLHttpRequest • see m/javascript/howto- ajax.html here's a request from Yahoo! Search web search service for the keyword "persimmon" that returns ten results: earchService/V1/webSearch?appid= YahooDemo&query=persimmon&result s=2 By default the Yahoo! Web Services return XML output
Image of page 67
© 2007-2009 Marco Papa & Ellis Horowitz 68 AJAX - Further References Articles Ajax: A New Approach to Web Applications by Jesse James Garrett Ajax gives software a fresh look (from CNET News) - 1007_3-5886709.html? Weighing the Alternatives (from ajax info) Resources XMLHttpRequest & Ajax Based Applications (from Fiftyfoureleven.com) Foundations of Ajax by Ryan Asleson, Nathaniel T. Schutta ISBN: 1590595823 Tutorials Getting Started with AJAX (from A List Apart) AJAX:Getting Started (from Mozilla Developer Center) Dynamic HTML and XML: The XMLHTTPRequest Object (from Apple Developer Connection) Mastering Ajax, Part 1: Introduction to Ajax (from IBM developerWorks) - ajaxintro1.html?ca=dgr-wikiAJAXinto1
Image of page 68
© 2007-2009 Marco Papa & Ellis Horowitz 69 More References • Ajax: A New Approach to Web Applications by Jesse James Garrett: /archives/000385.php • Ajax (programming) – Wikipedia: • Using the XML HTTP Request object: • XMLHttpRequest & Ajax Working Examples: mming/xmlhttprequest/examples • Very Dynamic Web Interfaces: - request.html
Image of page 69
© 2007-2009 Marco Papa & Ellis Horowitz 70 Ajax Enabled Technologies (Toolkits) Ruby on Rails: Microsoft ASP.NET Atlas: Eclipse / IBM -- The AJAX Toolkit Framework (ATF):
Image of page 70
Image of page 71

You've reached the end of your free preview.

Want to read all 84 pages?

  • Fall '07
  • Papa
  • Ajax, Ellis Horowitz, Marco Papa

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes