How can I change the title of the page (the window) after it has been loaded?

Discussion in 'JavaScript' started by Betty_S, Feb 27, 2007.

  1. #1
    Hi to every one!

    How can I change the title of the page (the window) after it has been loaded?

    thanks.
     
    Betty_S, Feb 27, 2007 IP
  2. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #2
    Loaded where ? Can you explain more ?
     
    login, Feb 27, 2007 IP
  3. bibel

    bibel Active Member

    Messages:
    289
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #3
    <body onload=change_title('new_title')>
    <script>
    function change_title(title){
    document.title=title;
    }
    </script>
     
    bibel, Feb 27, 2007 IP