I need simple javascrit to do the following..
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..
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.