Javascript n° 37

I made
// initialize buttons

button1.onclick.goStore;

but when I search for onclick, I find the code with de html tag.
like this
The time is?
I don’t believe that this will be the correct way!

This variable will be something you write later, so it doesn’t work in this step.

I find the solution
// initialize buttons

button1.onclick = goStore;

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.