<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1002221" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1002221</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/adding-updated-text-website-java-script#comment-1009837</link>
    <description> &lt;p&gt;With a JavaScript, it is a little shaky on browser support. If you use tables, it sometimes makes a mess in NS3 if you use a document.write- which you would need for this script. Some other browsers won&#039;t support it at all- and with the need to use an external JS the only browsers that will probably see it are IE4+ and NS4+.  The best way to do this would be through CGI and/or SSI. &lt;/p&gt;
&lt;p&gt;The way to do it with JS involves using an external .js file. You can see how to use this at:&lt;br /&gt;
 &lt;a href=&quot;http://www.pageresource.com/jscript/jxtern.htm&quot; class=&quot;bb-url&quot;&gt;http://www.pageresource.com/jscript/jxtern.htm&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;In this case, you would make the .js file look something like this:&lt;/p&gt;
&lt;p&gt;-----------------------------&lt;br /&gt;
function newcontent()&lt;br /&gt;
{&lt;br /&gt;
 document.write(&quot;Your new text in Here&amp;lt;BR&amp;gt;&quot;);&lt;br /&gt;
 document.write(&quot;other new text, etc.&quot;);&lt;br /&gt;
}&lt;br /&gt;
------------------------------&lt;/p&gt;
&lt;p&gt;Then, in your html file, be sure to point to the script in your HEAD section:&lt;/p&gt;
&lt;p&gt;&amp;#60;SCRIPT language=&quot;JavaScript&quot; SRC=&quot;yourname.js&quot;&amp;#62;&amp;#60;/SCRIPT&amp;#62;&lt;/p&gt;
&lt;p&gt;Then, call the script in the body section where you want the new text to show up:&lt;/p&gt;
&lt;p&gt;&amp;#60;SCRIPT language=&quot;JavaScript&quot;&amp;#62;&lt;br /&gt;
&amp;#60;--&lt;br /&gt;
newcontent();&lt;br /&gt;
//--&amp;#62;&lt;br /&gt;
&amp;#60;/SCRIPT&amp;#62;&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
John Pollock&lt;br /&gt;
   &lt;a href=&quot;http://www.pageresource.com&quot; class=&quot;bb-url&quot;&gt;http://www.pageresource.com&lt;/a&gt;&lt;br /&gt;
  &lt;a href=&quot;http://www.javascriptcity.com&quot; class=&quot;bb-url&quot;&gt;http://www.javascriptcity.com&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 02 May 1999 00:50:00 +0000</pubDate>
 <dc:creator>John Pollock</dc:creator>
 <guid isPermaLink="false">comment 1009837 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
