Hi,
I have a problem for adding a verbal to itself on click of a button. i want variable a to always hold the value and add the new value to it i submit the form. At the moment it adds to itself onclick then adds the new number to itself....
Any help would be great.
Thanks
I have a problem for adding a verbal to itself on click of a button. i want variable a to always hold the value and add the new value to it i submit the form. At the moment it adds to itself onclick then adds the new number to itself....
Any help would be great.
Thanks
Code:
Dim a, b
a = cint(Session("numtickets"))
b = cint(a)+cint(Session("numtickets"))
response.write(b)