Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascript meta tag

Status
Not open for further replies.

goody1577

Programmer
Jun 19, 2001
2
CA
does anyone know how to access the meta tag using javascript and netscape.

here's what i have and when i open it in IE it works, but i see nothing when i try it in netscape.

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
<META NAME=&quot;Author&quot; content=&quot;MI&quot;>

<script language=&quot;JavaScript&quot;>

function dates(){

document.write(&quot;Author: &quot; + Author.content);

}
</script>
</head>


<body bgcolor=&quot;#FFFFFF&quot;>

<SCRIPT LANGUAGE=&quot;JavaScript1.2&quot;>
<!--

dates()
//--></script>
</body>
</html>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top