<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Correct<DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Sep 8, 2006, at 8:17 PM, Troy III Ajnej wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">But you don't need to change the href="album01.html". <BR> Is that correct?<BR><BR><BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR> Troy III<BR> progressive art enterprise<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR><BR><BR> <HR id="stopSpelling"> <BR> > From: <A href="mailto:riegel@clearimageonline.com">riegel@clearimageonline.com</A><BR>> Subject: [Javascript] Walking the DOM<BR>> Date: Fri, 8 Sep 2006 15:17:58 -0400<BR>> To: <A href="mailto:javascript@LaTech.edu">javascript@LaTech.edu</A><BR>> <BR>> If I have the following markup...<BR>> <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<BR>> _______________________________________________<BR>> Javascript mailing list<BR>> <A href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</A><BR>> <A href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</A><BR><BR><BR><HR>Use Messenger to talk to your IM friends, even those on Yahoo! <A href="http://ideas.live.com/programpage.aspx?versionId=7adb59de-a857-45ba-81cc-685ee3e858fe" target="_new">Talk now!</A><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Javascript mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>