<font face="arial" size="2">   Google for "HTML strip function" and you should get a few good ones.<br /><br />   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.<br /><br />Cheers,<br /><br />Peter<br /><br /></font>
                <font face="Tahoma, Arial, Sans-Serif" size="2">
                                <b>From</b>: Terry Riegel <a href="mailto:riegel@clearimageonline.com">riegel@clearimageonline.com</a><br /></font>
                <br />
                <div>If o.innerText is IE only, and still possible with lots of work in other browsers could a general function be created to work in all browsers and then added to a library, such as prototype to make life easier for future use?</div>
                <div>
                                <br class="khtml-block-placeholder" />
                </div>
                <div>Terry<br class="khtml-block-placeholder" /></div>
                <div>
                                <br />
                                <div>
                                                <div>On Sep 10, 2006, at 4:41 AM, Troy III Ajnej wrote:</div>
                                                <br class="Apple-interchange-newline" />
                                                <blockquote type="cite">I think you are in need for <br /><br />     o=document.getElementById('album01');<br />     <font size="+0">o.innerText</font>=...<br /> <br />(an IE extension introduced ten years ago<br />having in mind exactly the type of applications<br />you are building right now),<br /> <br />but since other browsers don't support it<br />you are left with W3C conditionals and a long<br />walk...<br />(meaning count children check for node type identify the correct textnode)<br />Regards<br /><blockquote style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008080 2px solid; MARGIN-RIGHT: 0px">From: <a href="mailto:riegel@clearimageonline.com">riegel@clearimageonline.com</a><br /><br />Correct 
<div> </div><div><br /><div><div>On Sep 8, 2006, at 8:17 PM, Troy III Ajnej wrote:</div><br class="EC_Apple-interchange-newline" /><blockquote>But you don't need to change the href="album01.html". <br />Is that correct?<br /><br /><br />&gt; From: <a href="mailto:riegel@clearimageonline.com">riegel@clearimageonline.com</a><br />&gt; If I have the following markup...<br />&gt; <br />&gt;     &lt;li class="anor" id="album01"&gt;&lt;a href="album1.html"&gt;My Favorite  <br />&gt; Photos (58)&lt;/a&gt;&lt;/li&gt;<br />&gt; <br />&gt; <br />&gt; <br />&gt; and... in my javascript I have...<br />&gt; <br />&gt;     o=document.getElementById('album01');<br />&gt; <br />&gt; <br />&gt; <br />&gt; How do I reference (with the intent of changing) the content of the  <br />&gt; anchor? My goal is to replace the text with an updated number from  <br />&gt; the server, but I need a method to replace the text. As a side  <br />&gt; question should I be using innerHTML, or is there a better method. If  <br />&gt; anyone is using prototype and knows of a method through that library  <br />&gt; that would be helpful.<br />&gt; <br />&gt; <br />&gt; <br />&gt; Thanks,<br />&gt; <br />&gt; Terry</blockquote></div></div></blockquote></blockquote>
                                </div>
                </div>