
September 27th, 2002, 10:35 AM
|
|
Junior Member
|
|
Join Date: Sep 2002
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Passing/retrieving parameters in html pages
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? Is there a way to to it without using asp or other server side technos?
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
|