I need a javascript script that runs on a date and every certain amount of days it adds a number to the previous. Example:
Today is Jan 19,
on the 29 it takes a prespecified number and ads it to the original.
(number on the 19th 1000, on the 29th it ads 1500 to that number to make 2500)
then ten days later it ads 1500 more to the 2500 to 4000. It would need to keep going forever and also I would need to be able to take away and ad when needed. Example:
total number is 4000,
I change that number to 3750,
but the routine does not change. Every ten day's it still ads 1500 or what ever the specified amount is.
If someone can help me out, please let me know.
Today is Jan 19,
on the 29 it takes a prespecified number and ads it to the original.
(number on the 19th 1000, on the 29th it ads 1500 to that number to make 2500)
then ten days later it ads 1500 more to the 2500 to 4000. It would need to keep going forever and also I would need to be able to take away and ad when needed. Example:
total number is 4000,
I change that number to 3750,
but the routine does not change. Every ten day's it still ads 1500 or what ever the specified amount is.
If someone can help me out, please let me know.