|
|||||
|
|||||
|
This example shows how to dynamically update drop down boxes. In Netscape browser, the size of the combo box will not change dynamically to accommodate for the larger or smaller size of options. That is the box will not become wider if options require more space. IE automatically updates the size of the component. With Netscape there are two options. First is to find the width of the longest option and to put extra spaces into the text of the initial option, so that it will take as much space as the largest option. This way, we will be guaranteed that the largest option will still have enough space. Second option is to include an update statement "history.go(0)", which will reload the page and re-size the component.
|
|||||
![]() |