javascript setInterval()
<p>I have this code:</p>

<pre><code>function noti() {
     document.title = document.title + " 1"
}

setInterval("noti()", 1000)
</code></pre>

<p>The problem is it outputs: </p>

<blockquote>
  <p>My title 1 1 1 1 1 1 1 .....  to infinite.... 1</p>
</blockquote>

<p>Is there any possible way to output this as "My title 1"</p>

<p>the <strong>noti()</strong> function serves as a purpose when everytime an update occurs in the database, <em>whatever is the length gathered from the database</em> it will be outputed into the users <strong>title bar</strong>. </p>

<blockquote>
  <p>So, "My title 1", where "My title" is the name of the user and "1" the length coming from the database</p>
</blockquote>
