<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<FONT face=Arial>"Peter Brunone" <<A href="mailto:javascript@LaTech.edu">javascript@LaTech.edu</A>></FONT><BR>
<FONT face=Arial>Then again, I'm confused as to why you'd need innerText if all you have is text in the link. The innerHTML property does not return the tag of the element itself; that's outerHTML, which is a whole different issue.</FONT><BR></BLOCKQUOTE>
<P dir=ltr><BR>That's because he is referencing his no name, A tag <EM>element</EM> from its <EM>parent</EM> List Item ID.<BR><BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR> Troy III<BR> progressive art enterprise<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR></P>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008080 2px solid; MARGIN-RIGHT: 0px">
<BLOCKQUOTE>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008080 2px solid; MARGIN-RIGHT: 0px">
<BLOCKQUOTE>> <BR>> <li class="anor" id="album01"><a href="album1.html">My Favorite <BR>> Photos (58)</a></li><BR>> <BR>> <BR>> <BR>> and... in my javascript I have...<BR>> <BR>> o=document.getElementById('album01');<BR>> <BR>> <BR>> <BR>> How do I reference (with the intent of changing) the content of the <BR>> anchor? My goal is to replace the text with an updated number from <BR>> the server, but I need a method to replace the text. As a side <BR>> question should I be using innerHTML, or is there a better method. If <BR>> anyone is using prototype and knows of a method through that library <BR>> that would be helpful.<BR>> <BR>> <BR>> <BR>> Thanks,<BR>> <BR>> Terry</BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE><br /><hr />Check the weather nationwide with MSN Search <a href='http://search.msn.com/results.aspx?q=weather&FORM=WLMTAG' target='_new'>Try it now!</a></body>
</html>