title: How to automatically scrolling to the bottom of a text file window?
body: <p>I have a button that opens a TXT file in a new window.  Is there a way to automatically go to the very bottom of that page using javascript or php?  Or to any particular location (like searching for a string)?  Because it is a TXT file, there are no anchors.</p>
  
  <p>Here's my button's onclick: </p>
  
  <pre><code>onclick="window.open('comments.txt','_comments').focus();" 
  </code></pre>
  
  <p>I have looked into adding this to the onclick (but it did not work):</p>
  
  <pre><code>w.scrollTo(0,150);
  </code></pre>