Getting a pages <title> using javascript

Discussion in 'Javascript' started by mr_burns, Jan 12, 2005.

  1. mr_burns

    mr_burns Guest

    Hi there,

    I would like to a pages title (e.g. <title>this part please</title>)
    using javascript. How would this be done? I assume it could be done
    through the DOM model but I dont know too much about this. Any help?
    Cheers

    Burnsy
     
    mr_burns, Jan 12, 2005
    #1
    1. Advertisements

  2. mr_burns

    Mick White Guest

    mr_burns wrote:

    > Hi there,
    >
    > I would like to a pages title (e.g. <title>this part please</title>)
    > using javascript. How would this be done? I assume it could be done
    > through the DOM model but I dont know too much about this. Any help?
    > Cheers


    document.title (not entirely supported, however)
    Mick
     
    Mick White, Jan 12, 2005
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andreas Klemt
    Replies:
    1
    Views:
    685
    Steve C. Orr, MCSD
    Aug 10, 2003
  2. =?Utf-8?B?TWF4aW0gSXpicm9kaW4=?=

    Page title in ASP.NET pages

    =?Utf-8?B?TWF4aW0gSXpicm9kaW4=?=, Feb 2, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    6,392
    Steven Cheng[MSFT]
    Feb 3, 2004
  3. Michael Groeger

    Changing the pages title

    Michael Groeger, Jan 11, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    454
    Lau Lei Cheong
    Jan 12, 2006
  4. Bill Tschumy
    Replies:
    1
    Views:
    3,399
  5. Replies:
    0
    Views:
    751
  6. Replies:
    1
    Views:
    767
    David
    Apr 24, 2007
  7. soonic
    Replies:
    11
    Views:
    2,120
    soonic
    Jul 27, 2011
  8. Russell
    Replies:
    2
    Views:
    498
    Russell
    Sep 13, 2004
Loading...