Luc Bernard
11-18-2003, 10:00 PM
Hello
I need help code Source JavaScript
2 exp() 1000
With object Array
Thank you lolt
I need help code Source JavaScript
2 exp() 1000
With object Array
Thank you lolt
|
Click to See Complete Forum and Search --> : Object Array Luc Bernard 11-18-2003, 10:00 PM Hello I need help code Source JavaScript 2 exp() 1000 With object Array Thank you lolt Charles 11-19-2003, 05:16 AM I haven't clue as to what you have gone on about. What exactly are you trying to accomplish. Luc Bernard 11-19-2003, 04:29 PM Hi I have problem in the Quiz at home. I try diffrent code source but i havent Soulutions Thank you Luc Bernard 11-19-2003, 04:53 PM Hi I have problem in the Quiz at home. I try diffrent code source but i havent Soulutions Thank you fredmv 11-19-2003, 04:54 PM It's not very easy for us to help you out with such little information. Do you have some source code or a link we could look at possibly? Luc Bernard 11-20-2003, 12:23 AM <HTML> <Head> <Title> Calcul des puissances de 2 </Title> </Head> <script language="javascript"> <!-- //déclaration des variables // var resultat = new Array(310); //allocation d'un tableau vide de 310 éléments var resultat = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0); //allocation d'un tableau vide de 310 éléments resultat [0] = 1 function multiplierPar2() { Valeur_Exposant = document.calculatrice.exposant.value // if Valeur_Exposant <= 3 //for(var i=0; i<resultat.length; i++) for(var x=0; x<Valeur_Exposant; x++) resultat [0] = resultat [0] * 2 Valeur_Exposant=Valeur_Exposant-- document.calculatrice.resultatFinal.value = resultat[1]; } //document.calculatrice.resultatFinal.value = resultat[i]; //remplir par zero les 310 case // function Calculer(){ // // for(var i=0; i<resultat.length; i++) // document.write(resultat[i] ); // // } // document.calculatrice.resultatFinal.value = resultat //function calculer() // { // // var resultat=""; // for(var i=0; i<resultat.length; i++) { // resultat = resultat[i]; // } // // document.calculatrice.resultatFinal.value = resultat; // } // //--> </script> </head> <body> <form name="calculatrice"> <TABLE> <TR><!-- Titre --> <TD> <H1>Calcul des puissances de "X" de 2 </H1> </TD> </TR> <TR><!-- Espace --> <TD><BR> </TD> <TD><BR> </TD> <TD><BR> </TD> <TD><BR> </TD> </TR> <TR><!-- Entrer quelle puissance rechercher ? --> <TD> Quelle puissance recherchez vous ? ( Max 1000 ) <input type="text" name="exposant" size=10></TD> </TR> <TR> <!-- Bouton Calculer + Bouton Annuler --> <TD> <input type="button" value="Calculer" onclick="multiplierPar2()"> <input type="reset" value="Reinitialiser"> </TD> </TR> <TR><!-- Espace --> <TD><BR> </TD> </TR> <TR> <!-- Sous Titre --> <TD> Le resultat est : </TD> </TR> <TR> <!-- Text textarea --> <td> <textarea name="resultatFinal" rows="7" cols ="70"></textarea> </td> </TR> </TABLE> </form> </body> </HTML> fredmv 11-20-2003, 06:23 AM What exactly is it supposed to do. What isn't it doing that you want it to. What are you getting for errors, if any. What have you tried so far. Luc Bernard 11-20-2003, 07:14 AM Hi I need exact 2 exp()1000 with object array my code source make limite also calculete windows. thankyou loot webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |