3 ms·
Clueless asks: How do you make that dynamic?
by Mz 17y ago
Clueless asks: How do you make that dynamic?
- Semiapies 17y agoDepends on the language you're using. ColdFusion, a language I spend too much time using, would just require putting #year(now())# within a cfOutput tag.
- Mz 17y agoMy websites are currently (X)html, CSS and a smattering of Javascript. I have no knowledge of ColdFusion. But thank you for replying.
- Semiapies 17y agoSure. In jQuery, something like this would work, if you have a span in your footer with the id "copyright": $(function () { var today = new Date(); Q("#copyright").text(today.getFullYear()); });