An Intrinsic HTML Object: The SELECT
If you are still with me, you must be as pathetic as I am to still find this interesting. Well, since you're here, I might as well explain it. Objects like buttons, check boxes, text boxes, and (drop down) select boxes can be used outside of JavaScript tags. The only catch is you have to define and name a form in order to use them. There is a heirarchy to the parts of a web page that goes like this...
WINDOW --> DOCUMENT --> FORM --> OBJECT --> OBJECT_METHOD
The window part defaults to the currect window, so it is not often typed out. I created a form called form_one and a SELECT object named color for this page. I'll show the line of HTML later because it would be confusing right now. Next, I set the valid options for the SELECT object as follows...