Quantcast
Channel: Discussions - T3 - Joomla Template Framework
Viewing all articles
Browse latest Browse all 3483

Want using jQuery: Get Current Year

$
0
0
Hi,

want to use jquery to get corrent year with this code,

did insert this in the injection after
and would use the jquery from T3 or joomla 3.2 and not imported from



var currentYear = (new Date).getFullYear();
$(document).ready(function() {
$("#year").text( (new Date).getFullYear() );
});


and in the Hmtl module i use this

Copyright TEXT Company Name - All Rights Reserved.

but is not working

what must i change


regards

Gerhard

t3-framework and template 1.42
joomla 3.2

Viewing all articles
Browse latest Browse all 3483

Trending Articles