button problem
Posted: Sat Jun 15, 2013 2:54 am
hi
I wan't to have a page with 4 buttons, and when i press one of the buttons i want some other things to happen.
I have written some html code for the buttons and some code to check which button i pressed. However when i
test this, it runs and automatically selects and uses the first button on the page.(top left) How can i make this work so that when the page loads, it waits until i press one of the buttons before it does anything else.
I hope this make sense
Thank you for your help
I have just started this there is no code to post
I wan't to have a page with 4 buttons, and when i press one of the buttons i want some other things to happen.
I have written some html code for the buttons and some code to check which button i pressed. However when i
test this, it runs and automatically selects and uses the first button on the page.(top left) How can i make this work so that when the page loads, it waits until i press one of the buttons before it does anything else.
I hope this make sense
Thank you for your help
I have just started this there is no code to post