Programming & Design
Question:
Javascript, event handler not working?
2013-07-11 13:23:31 UTC
: X
: Y
Four answers:
Magic Matt
2013-07-11 13:38:17 UTC
The way you are trying to do that is very convoluted. You're function returns a value, but you don't do anything with it (nothing is expecting a value to be returned). Try this instead, it is much cleaner. It will alert the product:
: X
: Y
-->
Loading...