Index

Symbols

$() function, 225

$(“”) wrapper, 233-234

$(document).ready handler, 233

$F() function, 225

&& (logical AND), 96

+ operator, 29

! character, 79

A

accessing

browser history, 55

classes with className property, 192-193

JSON data

eval() function, 153-154

native browser support, 154

accordion widget, 253-254

ActiveX objects, creating, 264

adding comments to code, 24-25

addTax() function, testing, 365-366

advantages

of JSON, 152-153

of OOP, 106

Ajax, 261-262

asynchronous requests, 265-266

browser support, 264

client-server interaction, 262-263

form submission, 268-270

implementing with jQuery, 266-270

ajax() method, 268

get() method, 267

load() method, 266-267

post() method, 267

XMLHttpRequest object, 263

ajax() method, 268

alert() method, ...

Get JavaScript in 24 Hours, Sams Teach Yourself, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.