Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006

[js] How to obtain the number of parameters and methods?

[code]
"Script>
Function tt (c1, c2, c3, valve)
{
C4.value=c3.value=c2.value=c1.value;
4003rd number of the parameters of how to obtain news?
}

"/script>

"Input id=a1 onclick=tt (this) 48/68
"Input id=a2 onclick=tt (this) 48/68
"Input id=a3 onclick=tt (this) 48/68
"Input id=a4>
[/code]


Q :
1. How to obtain the number of parameters.
2. There is no better way to achieve :
In the importation to a1, a2, a3, the stoichiometry of the value a1 =
In the importation to a2, a3, a2 equal to the value of the stoichiometry
A3 to the importation, the stoichiometry of the value equal to a3
How to write the above function more efficient?




Expert
See me!

To tell the truth, you did not understand the function and call you if there was any correlation between the function. . . You and your problems and what the associated code. .

Made a number of parameters : (although it seems much worse, and your request. . . )
[html]
"Script>
A function () (
Alert (arguments.length)
}
A (1 '2', 3)
"/script>
[/html]




 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com