title: using javascript to mark a link as visited
body: <p>FF2 (at least) doesn't mark as link as :visited if it triggers the onclick handler without following the href.  I'm using onclick to fetch data from a server and modify the page and the link styling seems appropriate here.  But the link is not marked as visited.</p>
  
  <p>Is there a cross-browser way to mark the link as visited?  Failing that, is there a way to determine the browser's a:visited styling and apply it to the link?</p>
  
  <p>
  Thanks to all who replied.</p>
  
  <p>Looks like the <b>answers</b> are:</p>
  
  <ul>
    <li><i>Is there a cross-browser way to mark the link as visited?</i><br>
  No, there's no way to do this.  Links are identified as visited if the href is in the browser history.
    <li><i>Is there a way to determine the browser's a:visited styling?</i><br>
  No, not via javascript alone.
  </ul>