1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to make page title, auto refresh every x seconds (using javascript/jquery/others)

Discussion in 'JavaScript' started by basketmen, May 6, 2012.

  1. #1
    I have a php file lets say file1.php, that printing a variable, its dynamic numbers output that already always increasing, like private message numbers that coming or others :

    echo $variable

    i want to put that variable output, in another files page title, lets say file2.php or file3.html,
    in the front of the another files page titles, and auto refresh every x seconds, maybe like this :

    after x seconds, get a private message
    after another x seconds, get another private message

    or its ok if just like this, only the variable, without the another text in the page title

    please share your knowledge to make it, maybe using javascript, jquery or others
    basketmen, May 6, 2012 IP
  2. e-abi

    e-abi Member

    Likes Received:
    Best Answers:
    Trophy Points:
    e-abi, May 7, 2012 IP
  3. kind_of_the_cash

    kind_of_the_cash Active Member

    Likes Received:
    Best Answers:
    Trophy Points:
    That's for auto refresh for some preset time
    kind_of_the_cash, May 7, 2012 IP