The Way to Programming
The Way to Programming
This is my form and what little javascript i have in it. I need a little help. I have the data from the radio buttons collected, but i can not get the data fromt he check boxes collected, how can i do this? Plus i have to compare it to the the amount from the radio button.
Step 1: Choose your donation amount
Because you cant separate the 2 form as state as above,
to make it works with a simple way without using javascript,
merge the 2 form above so all form details can be submitted together.
besides, I suggest using of input type=”submit” if you want to have a submit button,
it is much better than input type=”button” with javascript
Don’t forget querySelectorAll when using multiple elements…
Step 1: Choose your donation amount
Sign in to your account