![]() |
stripy table core error
hi i got this piece of code from a book i'm reading called simply javascript by site point and when i execute the javascript i get an error saying that core was not defined. what am i missing?
the code is supposed to stripe a html table. here is the html table Code:
<title>Stripy Tables</title>Code:
Core is not defined Core.start(StripyTables); |
I can't see anywhere Core is defined either, are you sure you got the full code from the book?
|
Quote:
the book doesnt define core. here is a sample from the chapter regarding this project. geocities.com/sarmenhb/sample.pdf |
How about the following:
javascript Code:
Instead of: javascript Code:
|
Quote:
maybe i need to install some type of something in order for it to work, i dont know. |
You didn't follow instructions! Page 2 of the link you posted says:
Remember to Load your LibraryYour HTML in the first post clearly doesn't load the Core library. |
| All times are GMT. The time now is 09:05 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0