Thread: Parameters

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2002
    Posts
    2
    Rep Power
    0

    Parameters


    Hello,
    I want to send parameters from a html page containing various small pictures to a "detail page" that will display a bigger corresponding pictures.
    What is the easiest way to do this?

    I was trying to send my parameter (names "src_tableau") to the target page (named "details.htm" like this :
    <a href="details.htm?src_tableau=big_peintures_10.jpg;"

    and retrieving it in the target page like this :
    <script>
    var src = request.getParameter("src_tableau");
    document.write('<p>Source : ' + src + '</p>');
    </script>

    But I have got the following error : "request undefined"
    (I've tried using IIS also).

    Thanks for your help,
    Arnaud
  2. #2
  3. No Profile Picture
    Moderator =(8^(|)
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2002
    Location
    Sacramento, CA
    Posts
    1,710
    Rep Power
    14
    Wrong forum

    You want the HTML, Javascript & CSS forum.

    You'll get more help there, but I can tell you now that you're trying to mix Java and Javascript, and that ain't gonna work

IMN logo majestic logo threadwatch logo seochat tools logo