Hi, I have a <form> and within this form boundary I have 2 submit button. Each button have onClick commands which increases the variable(x++ and y++ respectively). Problem is when I click on one button that have onClick command of x++, when page reloads, both x++ and y++ occurs.
Does both onClick command is executed when the two button are within same <form> boundary?
Is there any where I could avoid this?
Does both onClick command is executed when the two button are within same <form> boundary?
Is there any where I could avoid this?