Index


-- arithmetic operator, JavaScript, 63

$_ request array, 524, 526, 553, 554, 579

$_FILES['userfile']['error'] element, PHP, 546

$_FILES['userfile']['name'] element, PHP, 546

$_FILES['userfile']['size'] element, PHP, 546

$_FILES['userfile']['tmp_name'] element, PHP 546

$_FILES['userfile']['type'] element, PHP, 546

$_GET array, 110, 524

$_POST array, 110, 524, 526

$ajax->output method, 268

% arithmetic operator, JavaScript, 63

%= assignment operator, JavaScript, 64

& operator, PHP, 492

&& operator

JavaScript, 63

PHP, 492, 497

&= assignment operator, JavaScript, 64

* / % operator, PHP, 492

/* */ comment, 43

* arithmetic operator, JavaScript, 63

/* comment, 43

*/ comment, 43

*= assignment operator, JavaScript, 64

[ operator, PHP, 492

^ bitwise operator, JavaScript, 63

^= assignment operator, JavaScript, 64

| bitwise operator, JavaScript, 63

| operator, PHP, 492

|| logical operator

JavaScript, 63

PHP, 497

|| operator, PHP, 492

|= assignment operator, JavaScript, 64

~ bitwise operator, JavaScript, 63

+ - . operator, PHP, 492

+ operator

JavaScript, 62, 63, 76, 476

PHP, 476

++ arithmetic operator, JavaScript, 63

+= assignment operator, JavaScript, 64

+= string operator, JavaScript, 63

< comparison operator

JavaScript, 64

PHP, 495

<< bitwise operator, JavaScript, 63

<<= assignment operator, JavaScript, 64

<= comparison operator

JavaScript, 64

PHP, 495

<> comparison operator, PHP, 495

= += -= *= /= .= %= &= |= ^= <<= >>= operator, PHP, 492

-= assignment operator, JavaScript, 64

/= assignment operator, JavaScript, 64

= assignment operator, JavaScript, 64

!= comparison operator

JavaScript, 64

PHP, 495

== != operator, PHP, 492

== comparison operator

JavaScript, 64

PHP, 495

!== comparison operator

JavaScript, 64

PHP, 495

=== comparison operator, PHP, 495

> comparison operator, JavaScript, 64

>= comparison operator

JavaScript, 64

PHP, 495

>> bitwise operator, JavaScript, 63

>>= assignment operator, JavaScript, 64

>>> bitwise operator, JavaScript, 63

>>>= assignment operator, JavaScript, 64

. (dot operator), 158

, special operator, JavaScript, 65

? : operator, PHP, 492

! ~ ++ -- operator, PHP, 492

/ arithmetic operator, JavaScript, 63

- arithmetic operator, JavaScript, 63

! logical operator

JavaScript, 63

PHP, 497

?: special operator, JavaScript, 65

A

<a> elements, 423

abort object method, XMLHttpRequest, 90, 91, 92

action attribute, <form> element, 522

Add to Cart button, 19

adder function, 57–58, 258–260, 265

addEventListener method, 321

addslashes string function, PHP, 482

Ajax overview

accessing model-view-controller, 666–668

adding interactivity to maps, 29–30

autocomplete, 13–14

browsing Amazon, 12–13

calculators enabled with Ajax, 9–10

chat applications, 10–12

downloading images, 17–18

dragging and dropping, 18–21

e-mail, 30–32

live searches, 8–9

logging in with, 15–16

menus enabled with Ajax

creating styles, 382–388

downloading menu items, 395–396

handling menu item clicks, 398–399

hiding menu, 400

showing menu, 396–398

working with mouse, 388–395

modifying Web pages, 24–29

origins of, 6–8

overview, 3–6

playing games with, 21–23

shopping carts enabled with Ajax

creating cross-browser mouse event object, 315–320

handling mouse down events, 320–323

handling mouse move events, 323–324

handling mouse up events, 325–328

overview, 310–315

spreadsheets, 12

using Ajax with XML

creating XML, 117–118

downloading XML, 118–125

writing

downloading data, 100–101

getting data, 98–100

handling data downloads, 95–98

setting up application, 86

writing JavaScript, 87

XMLHttpRequest objects, 87–95, 101–103

Ajax Tag Library, 276–278

Ajax Utility Library, 171–203

getText, 175–180

getXml, 180–187

postDataGetText, 187–193

postDataGetXml, 193–203

AjaxFailedAlert property, Sack framework, 218

AjaxGear framework, 211, 229–234

AJAXLib, 207–209

AjaxRequest framework, 234–238

alert function, JavaScript, 139

Amazon, browsing, 12–13

and logical operator, PHP, 497

animation, 457–464

Animation.html application, 458

anonymous functions, 96

APIs (Application Programming Interfaces), 144

appendChild method, 299, 300

Application Programming Interfaces (APIs), 144

applications

Animation.html application, 458

array.html application, 600

Browser.php application, 560

chat applications, 10–12

desktop applications, 3, 6, 8, 18, 29, 32

DocumentElement.html application, 346

dynamicTable.html application, 454

Element.html application, 448

formarray.php application, 563

getting text noticed, 401–405

Google Suggest application, 151–159, 160

InnerText.html application, 440

interacting with server-side code, 103–106

overview, 83

passing data to server-side scripts

with GET method, 106–110

with POST method, 110–115

Textranges.html application, 444

using Ajax with XML

creating XML, 117–118

downloading XML, 118–125

writing Ajax

creating XMLHttpRequest objects, 87–92, 101–103

downloading data, 100–101

getting data, 98–100

handling data downloads, 95–98

opening XMLHttpRequest objects, 92–95

setting up application, 86

writing JavaScript, 87

argument lists, variable-length, 515–518

arguments

default PHP, 514–515

passing to functions, 52–57

<array> element, 77

array.html application, 600

arrays

$_ request array, 524, 526, 553, 554, 579

$_GET array, 110, 524

$_POST array, 110, 524, 526

copying, 491–492

creating, 488–491

getting PHP user input in, 560–563

overview, 76

XMLHttpRequest object storage in, 134–138

asyncFlag parameter, 93, 615

ATTLIST event, 343, 375

attributes

action attribute, <form> element, 522

hover attribute, 422

ID attribute, 308

method attribute, <form> element, 522

onclick event attribute, 86

onload attribute, JavaScript, 49

src attribute, <script> element, 43

Style attribute, 382

target attribute, <form> element, 522

values, accessing, 371–374

attributes property, JavaScript, 298, 344

AUTH_TYPE server variable, $_SERVER, 556

<auth-constraint> element, 608

authentication, server-side user, 605–619

autocomplete, 13–14

Autocomplete tag, Ajax Tag Library, 276



Ajax Bible
Ajax Bible
ISBN: 0470102632
EAN: 2147483647
Year: 2004
Pages: 169

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