Getting a pages <title> using javascript

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mr_burns

    Getting a pages <title> using javascript

    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
  • Mick White

    #2
    Re: Getting a pages &lt;title&gt ; using javascript

    mr_burns wrote:
    [color=blue]
    > 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[/color]

    document.title (not entirely supported, however)
    Mick

    Comment

    Working...