• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/6

Click to flip

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
how do you use/install jquery?
it's a javascript file so include it into the desired html file using
<script type='text/javascript' src='[location of jquery file]'></script>
what does the .ready(handler) do?
it tells the browser to execute the jquery code handler (a function)
after all elements of the DOM have been loaded
what are different ways to use .ready()?
$(document).ready(handler)
$(handler)

and not recommended
$().ready(handler)
how do you have something happen for an html file? e.g. clicking it
inside the main .ready handler function have

$("[html-tag]").[event-name]([function_to_do_something]);
how do you have something happen when an html item is clicked and prevent the default behavior from happening?
have the $(html-tag).click(do-something-function(event)
{
[code]
event.preventDefault();
}
)
how do you reset a form?
$('#[form id]')[0].reset()