This article mainly tells the two points: 1.Select is different from the meaning of Length. Size = "1" Name = "D1"> sfdsf option> ghjgfhfg option> QWewQE option> select> p> Click ME button> p> Example 2: sfdsf option> ghjgfhfg option> QWewQE option> select> sfdsf option> ghjgfhfg option> qwewqe option> select> p> Click ME button> p> Click two button, Alert comes out of two different results: Example 1 is 3, Example 2 is 2, the same D1.Length, why not? This is what I want to say: 1. The meaning of algenth represents only one when SELECT is only one, its length indicates that its Option is in Select there. When it is, its Length represents the length of the Select array. How do you have a uniqueness? Or two examples above, we will change slightly: Example 1: sfdsf option> ghjgfhfg option> QWewQe option> select> Click ME Button> P> Example 2: sfdsf option > ghjgfhfg option> QWewQE option> select> sfdsf option> ghjgfhfg option> QWewQE option> select> p> CLIC K ME button> p> Now we try to click to see, is it length points to the length of SELECT? So how do you take the number of option? Write: Ole = Document.getElementsByname ('d1') optionscount =
Click ME button> p>
Example 2:
sfdsf option> ghjgfhfg option> QWewQE option> select> sfdsf option> ghjgfhfg option> qwewqe option> select> p> Click ME button> p> Click two button, Alert comes out of two different results: Example 1 is 3, Example 2 is 2, the same D1.Length, why not? This is what I want to say: 1. The meaning of algenth represents only one when SELECT is only one, its length indicates that its Option is in Select there. When it is, its Length represents the length of the Select array. How do you have a uniqueness? Or two examples above, we will change slightly: Example 1: sfdsf option> ghjgfhfg option> QWewQe option> select> Click ME Button> P> Example 2: sfdsf option > ghjgfhfg option> QWewQE option> select> sfdsf option> ghjgfhfg option> QWewQE option> select> p> CLIC K ME button> p> Now we try to click to see, is it length points to the length of SELECT? So how do you take the number of option? Write: Ole = Document.getElementsByname ('d1') optionscount =
Click ME button> p> Click two button, Alert comes out of two different results: Example 1 is 3, Example 2 is 2, the same D1.Length, why not? This is what I want to say: 1. The meaning of algenth represents only one when SELECT is only one, its length indicates that its Option is in Select there. When it is, its Length represents the length of the Select array. How do you have a uniqueness? Or two examples above, we will change slightly: Example 1: sfdsf option> ghjgfhfg option> QWewQe option> select> Click ME Button> P> Example 2: sfdsf option > ghjgfhfg option> QWewQE option> select> sfdsf option> ghjgfhfg option> QWewQE option> select> p> CLIC K ME button> p> Now we try to click to see, is it length points to the length of SELECT? So how do you take the number of option? Write: Ole = Document.getElementsByname ('d1') optionscount =
sfdsf option> ghjgfhfg option> QWewQe option> select> Click ME Button> P> Example 2: sfdsf option > ghjgfhfg option> QWewQE option> select> sfdsf option> ghjgfhfg option> QWewQE option> select> p> CLIC K ME button> p> Now we try to click to see, is it length points to the length of SELECT? So how do you take the number of option? Write: Ole = Document.getElementsByname ('d1') optionscount =
Click ME Button> P> Example 2: sfdsf option > ghjgfhfg option> QWewQE option> select> sfdsf option> ghjgfhfg option> QWewQE option> select> p> CLIC K ME button> p> Now we try to click to see, is it length points to the length of SELECT? So how do you take the number of option? Write: Ole = Document.getElementsByname ('d1') optionscount =
sfdsf option > ghjgfhfg option> QWewQE option> select> sfdsf option> ghjgfhfg option> QWewQE option> select> p> CLIC K ME button> p> Now we try to click to see, is it length points to the length of SELECT? So how do you take the number of option? Write: Ole = Document.getElementsByname ('d1') optionscount =
CLIC K ME button> p> Now we try to click to see, is it length points to the length of SELECT? So how do you take the number of option? Write: Ole = Document.getElementsByname ('d1') optionscount =