Or, if you're writing straight HTML without PHP, you could try Server-Side
Includes.
http://httpd.apache.org/docs/1.3/howto/ssi.html#today'sdate

j



On Wed, Jun 25, 2008 at 5:59 AM, M. <[EMAIL PROTECTED]> wrote:

>
> Hello,
>
> I have a HTML page and I've included a HTML comment above my <title>
> tag which says:
>
> <!-- this is my comment {2008} -->
> <title>the title of my page</title>
>
> everytime the page is loaded I want to use jQuery to insert the
> current year in place of 2008, so if some one views the page next year
> then the jQuery script will update the comment to read:
>
> <!-- this is my comment {2009} -->
> <title>the title of my page</title>
>
> How do I do this in jQuery, I'm new to the library and can't seem to
> find an answer to this anywhere on Google.
>
> Many thanks for you help.
>
> Kind regards,
> M.
>

Reply via email to