AttributionsTogether: 1 IDependOn-Set: 1 IDependOn-Set: 102 IDependOn-Set: 109 IDependOn-Set: 115 IDependOn-Set: 118 IDependOn-Set: 98 LastModifiedSecs: 1006809735 Parent: 102 SequenceNumber: 5 Title: Modify select box elements Part: 0 Author-Set: sauer@cloudmaster.com LastModifiedSecs: 1006809632 Type: Lines: 1 This is a little bit of code that sort of demonstrates how to modify the contents of a select box. Put a number in the maxvalue box, and the select box will be filled with numbers from 1 to maxvalue. If you select a value fin the select box, that value will be removed. If you specify a name and value in the name and value boxes, that name/value pair will be added to the select box. EndPart: 0 Part: 1 Author-Set: sauer@cloudmaster.com LastModifiedSecs: 1006809684 Type: html Lines: 1 http://www.cloudmaster.com/~sauer/demos/select_modify.html EndPart: 1 Part: 2 Author-Set: sauer@cloudmaster.com LastModifiedSecs: 1006809735 Type: monospaced Lines: 47 Adding stuff to a select box
value name
maxval
EndPart: 2