Hi,
want to use jquery to get corrent year with this code,
did insert this in the injection after <body>
and would use the jquery from T3 or joomla 3.2 and not imported from <script src="http://code.jquery.com/jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
var currentYear = (new Date).getFullYear();
$(document).ready(function() {
$("#year".text( (new Date).getFullYear() );
});
</script>
and in the Hmtl module i use this
<p>Copyright <span id="year">TEXT</span> Company Name - All Rights Reserved.</p>
but is not working
what must i change
regards
Gerhard
t3-framework and template 1.42
joomla 3.2