I would have to see the full HTML of a result page to know for sure (I can't access the url given in your other post) but the link to the .js file you gave in the other post gives me a clue.

Something in the page triggers calling the loadTimer() method (possibly a <body onLoad="loadTime()">) which then polls the loaded variable to see if the page is finished loading. Once loaded has a true value, it then looks at the values in numHits and numPages and writes those to the page using the .innerHTML() or .innerText() methods in javascript.

So without seeing the actual HTML of the page, I'm not sure but I'd bet there's a var numHits = x somewhere in the page (probably at the bottom).

In reply to Re: refreshing a page/session without re-submitting search by bpphillips
in thread refreshing a page/session without re-submitting search by seaver

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.