GET A Random Number BETWEEN:and
- Click me -> onclick.
- Click me -> click event.
- Click me calling function.
Activate: onclick and click event.
My personal preferences for tests are: nothing else than an empty text file, filled up with code. This will bring the truth to the screen. If standard browser code is used, it will work, otherwise it fails. It is often a real challenge, to bring it to work.
Prolems within this example were:
- But first I had to figure it out - with the help of a second button and function to generate the values, calling the function directly.
- I created a couple of buttons as a list, to test the funcionality of the click event. The Activate-button is obsolete, but I left it for documentation.