Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > URI Stem

Reply
Thread Tools

URI Stem

 
 
Aaron
Guest
Posts: n/a
 
      09-18-2006
Does anyone have a function I could use to pull out the URI stem of a
document ?

 
Reply With Quote
 
 
 
 
McKirahan
Guest
Posts: n/a
 
      09-18-2006
"Aaron" <> wrote in message
news: ups.com...
> Does anyone have a function I could use to pull out the URI stem of a
> document ?


Are you talking about parsing "location.path"?

http://en.wikipedia.org/wiki/Uniform...rce_Identifier


 
Reply With Quote
 
 
 
 
Aaron
Guest
Posts: n/a
 
      09-19-2006
That is showing as undefinded when I try to alert it..
McKirahan wrote:
> "Aaron" <> wrote in message
> news: ups.com...
> > Does anyone have a function I could use to pull out the URI stem of a
> > document ?

>
> Are you talking about parsing "location.path"?
>
> http://en.wikipedia.org/wiki/Uniform...rce_Identifier


 
Reply With Quote
 
McKirahan
Guest
Posts: n/a
 
      09-19-2006
"Aaron" <> wrote in message
news: oups.com...
> That is showing as undefinded when I try to alert it..


[snip]

Show us your code. Is it like the following?

<script type="text/javascript">
alert(location.path);
</script>


 
Reply With Quote
 
Aaron
Guest
Posts: n/a
 
      09-20-2006
Exactly that in fact...

The alert window shows 'undefined'


McKirahan wrote:
> "Aaron" <> wrote in message
> news: oups.com...
> > That is showing as undefinded when I try to alert it..

>
> [snip]
>
> Show us your code. Is it like the following?
>
> <script type="text/javascript">
> alert(location.path);
> </script>


 
Reply With Quote
 
McKirahan
Guest
Posts: n/a
 
      09-20-2006
"Aaron" <> wrote in message
news: ps.com...
> Exactly that in fact...
>
> The alert window shows 'undefined'


[snip]

As I said: "Show us your code.".


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation of Lingua:Stem fails -> Lingua-Stem-Snowball-Da already installed... Gerwin Perl Misc 0 02-06-2007 11:55 AM
java.net.URI.relativize(java.net.URI) not really working Stanimir Stamenkov Java 1 08-17-2005 06:24 PM
Help with error: "Invalid URI: The format of the URI could not be determined." Simon Harris ASP .Net 0 05-10-2005 04:33 PM
Re: XSLT: Relative URI "my.dtd" can not be resolved without a base URI etheriau XML 1 08-23-2004 01:54 PM
XSLT: Relative URI "my.dtd" can not be resolved without a base URI Pavel XML 2 08-03-2004 11:40 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57