Quote:
Originally Posted by chrishirst
And, "but it doesn't work" means what exactly?
Nothing happens?
Error Message?
Browser dies?
etc.
|
Nothing happens. The button shows and nothing happens when you click the button.
I'm starting to think that there could be something wrong with the reference file 'core.js.'
Core.js is a reference file that I'm using for assigning functions to elements by using 'event listeners'. 'Event listeners' are supposed to be a better way than using 'event handlers' because w/ 'event listeners' you can assign more than one function for more than one event on just one element. So the coding in this book was based entirely off of the reference file 'core.js'.
I downloaded the file from the publishers site called "Sitepoint"..If you would like, I can PM or email the file to you.
There may be something wrong with the file, because the code above makes sense!
|