Other Choices
ActiveX, VBScript: Microsoft-centric.
CGI:
Requires a call to the server each time.
Can write to a file, database.
CGI and JavaScript complement each other well.
Show Me!