By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,384 Members | 1,794 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,384 IT Pros & Developers. It's quick & easy.

URI Stem

P: n/a
Does anyone have a function I could use to pull out the URI stem of a
document ?

Sep 18 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
"Aaron" <af********@gmail.comwrote in message
news:11*********************@k70g2000cwa.googlegro 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
Sep 18 '06 #2

P: n/a
That is showing as undefinded when I try to alert it..
McKirahan wrote:
"Aaron" <af********@gmail.comwrote in message
news:11*********************@k70g2000cwa.googlegro 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
Sep 19 '06 #3

P: n/a
"Aaron" <af********@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr 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>
Sep 19 '06 #4

P: n/a
Exactly that in fact...

The alert window shows 'undefined'
McKirahan wrote:
"Aaron" <af********@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr 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>
Sep 20 '06 #5

P: n/a
"Aaron" <af********@gmail.comwrote in message
news:11*********************@i3g2000cwc.googlegrou ps.com...
Exactly that in fact...

The alert window shows 'undefined'
[snip]

As I said: "Show us your code.".
Sep 20 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.