URI Stem

Discussion in 'Javascript' started by Aaron, Sep 18, 2006.

  1. Aaron

    Aaron Guest

    Does anyone have a function I could use to pull out the URI stem of a
    document ?
    Aaron, Sep 18, 2006
    #1
    1. Advertising

  2. Aaron

    McKirahan Guest

    McKirahan, Sep 18, 2006
    #2
    1. Advertising

  3. Aaron

    Aaron Guest

    That is showing as undefinded when I try to alert it..
    McKirahan wrote:
    > "Aaron" <> wrote in message
    > news:...
    > > 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_Resource_Identifier
    Aaron, Sep 19, 2006
    #3
  4. Aaron

    McKirahan Guest

    "Aaron" <> wrote in message
    news:...
    > 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>
    McKirahan, Sep 19, 2006
    #4
  5. Aaron

    Aaron Guest

    Exactly that in fact...

    The alert window shows 'undefined'


    McKirahan wrote:
    > "Aaron" <> wrote in message
    > news:...
    > > 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>
    Aaron, Sep 20, 2006
    #5
  6. Aaron

    McKirahan Guest

    "Aaron" <> wrote in message
    news:...
    > Exactly that in fact...
    >
    > The alert window shows 'undefined'


    [snip]

    As I said: "Show us your code.".
    McKirahan, Sep 20, 2006
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    4
    Views:
    1,073
    Paul D
    Aug 26, 2006
  2. Barney

    Stem and Leaf plots

    Barney, Oct 13, 2010, in forum: Python
    Replies:
    0
    Views:
    594
    Barney
    Oct 13, 2010
  3. Mark

    stem

    Mark, Sep 16, 2011, in forum: Java
    Replies:
    1
    Views:
    261
    Jeff Higgins
    Sep 16, 2011
  4. Wonjun, Choi

    how to draw stem, twig, leaf?

    Wonjun, Choi, Oct 30, 2011, in forum: C Programming
    Replies:
    3
    Views:
    669
    Jean-Christophe
    Oct 31, 2011
  5. Gerwin
    Replies:
    0
    Views:
    173
    Gerwin
    Feb 6, 2007
Loading...

Share This Page