AJAX - The Complete Reference
PART II Chapter 8: User Interface Design for Ajax 381 var names = response.xhr.responseText.split("\n"); for(var i=0; i < nam ...
382 Part II: Developing an Ajax Library^ var ENTER = 13; var KEYUP = 38; var KEYDOWN = 40; function sendRequest(url, payload) { ...
PART II Chapter 8: User Interface Design for Ajax 383 var selectedItem = document.getElementById("resultlist" + index); if (sele ...
384 Part II: Developing an Ajax Library^ /* kill default submit of a single field form */ document.requestForm.onsubmit = functi ...
PART II Chapter 8: User Interface Design for Ajax 385 (gTimer);gTimer=null;}; document.requestForm.onsubmit = function(){return ...
386 Part II: Developing an Ajax Library^ NNOT EOTE The appid value has been removed from the code listing and replaced with a st ...
PART II Chapter 8: User Interface Design for Ajax 387 FIGURE 8-12 Auto searching using Yahoo Web Services ...
388 Part II: Developing an Ajax Library^ In PHP, it is possible to write a simple script to check format validity of a passed ZI ...
PART II Chapter 8: User Interface Design for Ajax 389 code, but we show the basics here, as it will be used in a proper Ajax exa ...
390 Part II: Developing an Ajax Library^ FIGURE 8-14 Using Ajax to truly validate a ZIP code ...
PART II Chapter 8: User Interface Design for Ajax 391 { document.requestForm.zip.value = ""; var validationMsg = document.getEle ...
392 Part II: Developing an Ajax Library^ <tr><td>Zip Code: </td><td><input type="text" name="zip" /&g ...
PART II Chapter 8: User Interface Design for Ajax 393 include("JSON.php"); $json = new Services_JSON(); print $json->encode($ ...
394 Part II: Developing an Ajax Library^ Before wrapping up this section, we should note that there is the outside possibility t ...
PART II Chapter 8: User Interface Design for Ajax 395 the DOM. An example of such custom tooltips is shown here and can be found ...
396 Part II: Developing an Ajax Library^ FIGURE 8-16 Revealing data on demand within a picture viewing application ...
PART II Chapter 8: User Interface Design for Ajax 397 or even more items would be fetched behind the scenes with Ajax so that th ...
398 Part II: Developing an Ajax Library^ NNOT EOTE If you really want to make this pattern work well, a sophisticated implementa ...
PART II Chapter 8: User Interface Design for Ajax 399 the resolution of the image is, quite a bit of detail could be provided fo ...
400 Part II: Developing an Ajax Library^ What About...? The chapter is almost over, and you might be concerned that we forgot tr ...
«
16
17
18
19
20
21
22
23
24
25
»
Free download pdf