c*****t 发帖数: 1879 | 2 1. Use .value for input fields and set to ''.
2. For select, the code is browser dependent. So, the easiest way
is actually put the select box inside another container. Then,
to clear the entries, just replace .innerHTML w/ an empty selection
box. |
|