R
rebeccatre
hi, i am still figuring out joins and whatnot, could someone help me
achieve this goal?
<script>
var setnumber = 5;
var total5 = 100;
alert(total+setnumber);
</script>
Ok, the alert does not work, but my goal is to do what I hope is
obvious, and that is to join the setnumber value with the word
'total', so it becomes 'total5', and so it can be accessed/utilized as
such.
Can someone please help me with this? It would be greatly
appreciated. Have a very nice day.
Rebecca.
achieve this goal?
<script>
var setnumber = 5;
var total5 = 100;
alert(total+setnumber);
</script>
Ok, the alert does not work, but my goal is to do what I hope is
obvious, and that is to join the setnumber value with the word
'total', so it becomes 'total5', and so it can be accessed/utilized as
such.
Can someone please help me with this? It would be greatly
appreciated. Have a very nice day.
Rebecca.