
2

3

4



5

6



7

8

9

10



11

12

13

14

15

16

17

18

19

20

21

22

23



24

25



26

27



28

29

30

31

32

33



34

35

36

37

38

39



40

41

42

43

44

45

46

47

48

49

50

51

52


2



3

4

5

6

7

8



9

10

11

12

13

14

15



16

17

18

19

20

21

22

23

24

25

26



27

28

29



30

31

32

33

34



35

36

37

38

39

40

<script language=javascript> http_request=null; function doAJAX() { if (window.XMLHttpRequest) { http_request=new XMLHttpRequest(); } else (window.ActiveXObject) { http_request=new ActiveXObject("Microsoft.XMLHTTP"); } http_request.onreadystatechange = GetDate; var S = document.Form1.select1.value; alert(S); var url='WebForm2.aspx?sABC='+escape(S); http_request.open('POST',url,true); var dataSet='sABC='+escape(S); http_request.send(null); } function GetDate() { if (http_request.readyState==4) { if(http_request.status==200) { var a= http_request.responseText.split(","); //清空原来的OPTIONS var nL = document.Form1.select2.options.length; while(nL>1) { alert(document.Form1.select2.options.length); document.Form1.select2.remove(document.Form1.select2.options.length-1); nL = document.Form1.select2.options.length; } for(i=0;i 1) { alert(document.Form1.select2.options.length); document.Form1.select2.remove(document.Form1.select2.options.length-1); nL = document.Form1.select2.options.length; } for(i=0;i 1) { alert(document.Form1.select2.options.length); document.Form1.select2.remove(document.Form1.select2.options.length-1); nL = document.Form1.select2.options.length; } for(i=0;i 1) { alert(document.Form1.select2.options.length); document.Form1.select2.remove(document.Form1.select2.options.length-1); nL = document.Form1.select2.options.length; } for(i=0;i 1) { alert(document.Form1.select2.options.length); document.Form1.select2.remove(document.Form1.select2.options.length-1); nL = document.Form1.select2.options.length; } for(i=0;i 1) { alert(document.Form1.select2.options.length); document.Form1.select2.remove(document.Form1.select2.options.length-1); nL = document.Form1.select2.options.length; } for(i=0;i 1) { alert(document.Form1.select2.options.length); document.Form1.select2.remove(document.Form1.select2.options.length-1); nL = document.Form1.select2.options.length; } for(i=0;i 1) { alert(document.Form1.select2.options.length); document.Form1.select2.remove(document.Form1.select2.options.length-1); nL = document.Form1.select2.options.length; } for(i=0;i