HTML META TAGS value

They have: 24 posts

Joined: Jun 2000

Hi,
does somebody know how to read the value of a html meta tag?

By this I mean the following
an html file has a meta like this
meta name="Author" value="Jack"

and i would like now to know
if a JS or Jscript can read this value somehow
like:
_author=document.meta.author.value
or anything retrievieng the value "Jack" to this variable...

Thx

The web design reference for spanish readers
http://www.flash-es.net
500,000 impressions a month
El límite esta en tu imaginación

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hola Charlysp,

This works for IE:

alert(Author.value)
Author.value = 'Vicente';
alert(Author.value)

no go for NN4.7. If it's necessary, try searching at:

irt.org

Vinny

Where the world once stood
the blades of grass cut me still

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.