Events & Pop-up boxes

Cards (8)

  • WHAT ARE EVENTS?
    -Actions triggered by user actions such as mouse clicks, function calls, keyboard strokes etc.
    -connected with functions
    Functions
    -Does not work without a force that will trigger it
  • Pop-up boxes
    -windows that pops up your screen
    -could be before page is fully loaded or before leaving a page
  • Alert Box
    alert("message");
  • Alert box
    >Warning or greeting
  • Prompt Box
    prompt("message", "defaultvalue");
  • Prompt Box
    > when you want data to be prompted first before user can enter page
    >either "OK" or "Cancel" to continue
  • Confirm box
    confirm("message")
  • Confirm Box
    >verify or accept smth
    > either ok or cancel or yes or no