I have been searching for an answer for this for days and haven't found anything so sorry if this has been asked before.
I want the integer to go up by 1 every time this link is clicked. So first it is 0, then clicked its 1, then clicked its 2, then clicked its 3
document.getElementById('myPackage').href="http://www.vanquishvps.com/order/cart.php?a=confproduct&i="+1
I really have no idea how to do this, I have really tried looking at Jquerys variables and stuff, I just cant figure it out.
Id appreciate any help hugely!
Thank you