C
Chris
Hi,
I've a problem to add 2 numbers.
function test (nombre){ <<<< nombre came from a form. ( for exemple 3)
var toto=2;
Sum = nombre.value + toto;
alert(Sum); <<< display 23 intead of 5 !!
}
I suppose that it's easy, but I didn't success to display 5.
Thanks for your help.
Chris
I've a problem to add 2 numbers.
function test (nombre){ <<<< nombre came from a form. ( for exemple 3)
var toto=2;
Sum = nombre.value + toto;
alert(Sum); <<< display 23 intead of 5 !!
}
I suppose that it's easy, but I didn't success to display 5.
Thanks for your help.
Chris