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. Advertising

  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. Advertising

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:
    495
    Steve C. Orr, MCSD
    Aug 10, 2003
  2. Replies:
    0
    Views:
    577
  3. Replies:
    1
    Views:
    594
    David
    Apr 24, 2007
  4. soonic
    Replies:
    11
    Views:
    1,848
    soonic
    Jul 27, 2011
  5. Russell
    Replies:
    2
    Views:
    327
    Russell
    Sep 13, 2004
Loading...

Share This Page