Dear Forum!
I use Javascript for an automatic display of the year.
<span id="year">TEXT</span>
with the JS-Code:
jQuery(document).ready(function() { var currentYear = (new Date).getFullYear(); jQuery("#year").text( (new Date).getFullYear() ); });
But on my mobile site it isnt working. There just the text “TEXT” is coming up.
I cant figure out whats the issue.
Thank you in advance!
Best regards,
Johannes