Talking about the Clear of Option in
INTLENGTH is Option: Document.all ("LSTUSERID"). Options.Length;
LSTUSERID is
<
SELECT
ID = LSTUSERID
> Object:
<
SELECT
ID = LSTUSERID
>
<
Option
> 1
Option
>
<
Option
> 3
Option
>
<
Option
> 4
Option
>
SELECT
>
method one:
FOR
VAR i = 0; I { Document.all ("LSTUSERID"). Options.Remove (i); } Method Two: While (Document.all ("LSTUSERID"). Options.length> 0) { Document.all ("LSTUSERID"). Option.remove (0); } Method can clear the So there is a problem from the first delete from the last delete. The method is to empty because Document.all ("LSTUSERID"). Options [0] deletes Document.all ("LSTUSERID"). Options [1] becomes Document.all ("LSTUSERID"). Options [ 0]. The last one is deleted until it is deleted. #end QQ: 14754875 BBS: www.shixm.com/bbs If you reprint, please keep QQ and BBS.