I am having trouble with forms!
The picture below is how i would like to have the interface set up. Basically it consists of a textarea, then a form with 'Submit' buttons, then a drop down box. The red outlined box is a div whose contents changes depending on the value selected from the dropdown box, whose current value is 'Player'.
I can't seem to get the following behaviour to work: depending on the number of checkboxes clicked, output a phrase in the textarea a certain number of times upon pressing the 'Defend' button.
Thanks for your time!
onchange
function of thecheckbox
. I cant help much without your initial code – user2404546