Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
6 Cards in this Set
- Front
- Back
What's the signature for the complete() callback of $.ajax()?
|
complete(jqXHR, textStatus)
textStatus may be "success", "notmodified", "error", "timeout", "abort", or "parsererror". |
|
What's the signature for the success() callback of $.ajax()?
|
success(data, textStatus, jqXHR)
'data' is formatted according to the 'dataType' parameter passed to $.ajax(). |
|
What's the signature for the error() callback of $.ajax()?
|
error(jqXHR, textStatus, errorThrown)
'errorThrown' receives the textual portion of the HTTP status, e.g. "Not Found", or "Internal Server Error". |
|
What's the signature for .each()?
|
.each(function(index, element))
'element' is a DOM element, *not* a jQuery object. |
|
What's the best way to identify pressed keys?
|
event.which (for keyup/keydown events)
event.which normalizes event.keyCode and event.charCode. It is recommended to watch event.which for keyboard key input. |
|
What does Event.target yield?
|
The DOM element that initiated the event.
|