Easy question. about passing values

Discussion in 'Javascript' started by Paul, Sep 20, 2005.

  1. Paul

    Paul Guest

    HI! I need to pass a value but I am not sure how to added to this statement.

    <a href="javascript:loadintoIframe('myframe', 'external.htm')">Link</a>

    I want to pass this
    ifp=../Files/somehtmlfile.htm

    for a link I use the ? eg.. ?ifp=../Files/somehtmlfile.htm

    but I am not sure how to add it in the above statement. ( the one in RED )

    Can someone tell me how?


    Thanks in advance :)

    Paul
     
    Paul, Sep 20, 2005
    #1
    1. Advertising

  2. Paul

    McKirahan Guest

    "Paul" <> wrote in message
    news:Ie%Xe.7286$...
    > HI! I need to pass a value but I am not sure how to added to this

    statement.
    >
    > <a href="javascript:loadintoIframe('myframe', 'external.htm')">Link</a>
    >
    > I want to pass this
    > ifp=../Files/somehtmlfile.htm
    >
    > for a link I use the ? eg.. ?ifp=../Files/somehtmlfile.htm
    >
    > but I am not sure how to add it in the above statement. ( the one in RED )
    >
    > Can someone tell me how?
    >
    >
    > Thanks in advance :)
    >
    > Paul


    Probably

    <a href="javascript:loadintoIframe('myframe',
    'external.htm?ifp=../Files/somehtmlfile.htm')">Link</a>

    Does "external.htm" reference the Query String;
    perhaps via JavaScript's location.search?
     
    McKirahan, Sep 20, 2005
    #2
    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. Hazzard
    Replies:
    2
    Views:
    651
    Hazzard
    Apr 6, 2004
  2. Ken Adams

    Question about passing values?

    Ken Adams, Nov 12, 2004, in forum: Java
    Replies:
    7
    Views:
    337
  3. Replies:
    5
    Views:
    282
    Peter Decker
    Oct 14, 2006
  4. Bruno Desthuilliers
    Replies:
    5
    Views:
    395
    Bruno Desthuilliers
    Aug 29, 2007
  5. Danny
    Replies:
    5
    Views:
    127
    gnari
    May 1, 2004
Loading...

Share This Page