Greetings forum members!
I've got what seems to be a simple problem calling for a simple solution, but working through it has become an issue for me.
Okay, details. I've got a web page with images across the top. When clicking on one of the images, there is a dynamic below that shows which image you selected. The entire code for my page is simply this:
var backImage = new Array();
backImage = "1.gif";
backImage = "2.gif";
backImage = "3.gif";
backImage = "4.gif";
document["rating"].src = backImage[whichImage];
And in the body, my code looks like:
<form action="process.asp" method="post">
<img name="rating" src="norating.gif"><br><br>
<input type="hidden" name="rating" value="rating">
<input type="submit" value="submit">
This all works beautifully, however, I want to pass a value to the next page based on what the user selects. It could be any value that identifies the selection, the important part is that it can be done. Hopefully there's a solution that can pass the value in a querystring or form. Either is fine with me.
Now, if you want to see it in action, please go here:
Please tell me that I'm crazy and that it can't be done, or if by some chance there is a solution, I would be more than grateful for some insight.
Your help is immensely appreciated!
Last edited by dangre; 08-24-2005 at 04:00 PM.
I moved it here for better replies. But I'm pretty sure you can pass this in the url using ?variableName=someValue
By James Graham in forum .NET
Last Post: 10-23-2011, 02:47 PM
Last Post: 06-18-2005, 05:55 PM
Last Post: 06-12-2003, 04:00 AM
Last Post: 08-30-2001, 11:45 AM
By Murray Foxcroft in forum Web
Last Post: 11-02-2000, 02:42 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL