633
JSON (JavaScript Object Notation) – methodsbindex.indd 02/20/2015 Page 633
downloading, 7
Hello World, 8–9
history, 3–4
installation, 7–9
overview, 3–4JSON (JavaScript Object Notation), 180–181
GET requests (AJAX), 189–192
K
keywords
for, 20
case, 20
catch, 20
else, 20
if, 20
switch, 20
this, 43, 142, 246
try, 20
while, 20L
sortable, 339–347
libraries
Draggable and Droppable, 323
UI library, 323–234
Accordion UI, 373–382
Datepicker plugin, 383–397
Dialog plugin, 399–414
Draggable and Droppable libraries,
323
Draggable plugin, 324–330
Droppable plugin, 324–330
Selectable plugin, 361–372
Sortable plugin, 339, 347–358line length, JavaScript, 19–20
lists, sortable, 339–347
state, 354–358
live events, 69
load( ) method, 195–199M
makeArray( ) method, 157–158
map( ) method, 151–156
mapping
arrays, 153–156
selections, 151–153
marching ants selections, 366
markup
compression, 14
conventions, 10–15
effi ciency, 13–15
organization, 14
MediaElement plugin, 459
confi guration, 459–461
controls, 463
download control, 463–464
options, 623– 626
$.merge( ) method, 160 –162
merging arrays, 160–162
methods
accordion( ), 375
Accordion UI, 585
add( ), 59–60
addClass( ), 101
after( ), 103, 111–112
AJAX
data types, 542
options, 535–542
requests, 533–535
ajax( ), 205–209
ajaxError( ), 211
ajaxSend( ), 211