Timeline for HTML won't run JavaScript function
Current License: CC BY-SA 4.0
Post Revisions
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 20, 2019 at 5:53 | history | edited | Jack Bashford | CC BY-SA 4.0 |
Typo fix
|
| Apr 20, 2019 at 5:51 | answer | added | Victor Okonkwo | timeline score: 0 | |
| Apr 19, 2019 at 21:15 | vote | accept | charlesFromSoCal | ||
| Apr 19, 2019 at 21:15 | vote | accept | charlesFromSoCal | ||
| Apr 19, 2019 at 21:15 | |||||
| Apr 19, 2019 at 21:14 | vote | accept | charlesFromSoCal | ||
| Apr 19, 2019 at 21:15 | |||||
| Apr 19, 2019 at 19:55 | review | Close votes | |||
| Apr 23, 2019 at 0:00 | |||||
| Apr 19, 2019 at 19:47 | answer | added | Richard Bercap | timeline score: 1 | |
| Apr 19, 2019 at 19:45 | answer | added | Henry Bersey | timeline score: 0 | |
| Apr 19, 2019 at 19:41 | comment | added | Heretic Monkey | Why is document.write considered a "bad practice"? | |
| Apr 19, 2019 at 19:38 | answer | added | Allam | timeline score: 2 | |
| Apr 19, 2019 at 19:37 | comment | added | charlesFromSoCal | That works! Thanks! | |
| Apr 19, 2019 at 19:35 | comment | added | Pointy | You've declared your function inside the "ready" handler. That makes it unavailable to anything outside that scope. | |
| Apr 19, 2019 at 19:35 | comment | added | RidgeA |
getYear function creates only after the document is ready. Move the function declaration outside the ready callback
|
|
| Apr 19, 2019 at 19:33 | history | asked | charlesFromSoCal | CC BY-SA 4.0 |