hi all,

I need simple javascrit to do the following..

for example..
I have a page and its title ie "Janu's Home Page", what I want is to somehow get the value of page title and remove everything after "'s" I mean I should somehow get the value of title like this..

Janu

it should remove 's Home Page

and display this title in body or addisng htis value to a variable $mytitle

I dont know much JS, please help here.