PSP-Heaven
New Member
- Messages
- 428
- Reaction score
- 0
- Points
- 0
How can I add these two things together?
<script language="Javascript">ccount_display('1')</script>
<script language="Javascript">ccount_display('2')</script>
The first one has 2 stored as the count.
The second one has 1 stored as the count.
I want to add them both together, to get an accumulated amount of 3.
Okay, I found a way on how to make it work! But, it wont work on other pages??? Why, heres the code:
Downloads: <b>
<script language="Javascript">
var all = ccount_link[1]+ccount_link[2];
document.write(all);
</script>
<script language="Javascript">ccount_display('1')</script>
<script language="Javascript">ccount_display('2')</script>
The first one has 2 stored as the count.
The second one has 1 stored as the count.
I want to add them both together, to get an accumulated amount of 3.
Okay, I found a way on how to make it work! But, it wont work on other pages??? Why, heres the code:
Downloads: <b>
<script language="Javascript">
var all = ccount_link[1]+ccount_link[2];
document.write(all);
</script>
Last edited: