Client-Side Scripting

Advantages

  • Increased Interaction without Extensive Round-Trip Server Transfers
  • Less Load on the Server

Disadvantages

  • Browser Must Support Scripting Language and Properties
  • Users can View the Source Code

Uses

  • Form Validation
  • Browser Events:
    • Document Events (onclick, ondblclick, onhelp, onkeydown, onkeyup, ...)
    • Window Events (onload, onunload, onresize, ...)