SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: help with simple code please
-
Apr 18, 2007, 16:43 #1
- Join Date
- Aug 2005
- Posts
- 64
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
help with simple code please
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.
-
Apr 18, 2007, 17:39 #2
- Join Date
- Sep 2006
- Posts
- 731
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Tab-indentation is a crime against humanity.
-
Apr 26, 2007, 20:14 #3
- Join Date
- Aug 2005
- Posts
- 64
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
thanks Ali
Bookmarks