howardfan123
07-19-2010, 01:24 PM
I ' m trying to get an image to appear on a .asp page based on a radio button selection from the first page. the issue is that the radio buttons also have another value that is assigned to a text box.
so basically i need a radio button to pass two values when selected from page 1 to post in another form on page 2 one being to a text box and another being a image
page one
<a href="GIFTCARDS/003 BASIC FLOWER.jpg" rel="thumbnail" title="Style - BBA 003"><img src="GIFTCARDS/003 BASIC FLOWER.jpg" alt="bba-003" width="300" height="200" style="width: 150px; height: 100px" name="samplespic" /></a>
<span class="style71"><input name="giftcardstocknumber" type="radio" value="BBA - 003" />Style - BBA 003</span>
need to attach the image displayed with this button
page two
<input type="text" name="product2[]" value="<%response.write(request.form("giftcardstocknumber"))%>" />
<img src="<%=Request("samplepic")%>" alt="giftcard" height="150" width="200"/>
any ideas? just learning asp so should i try and get a javascript or keep it in asp
so basically i need a radio button to pass two values when selected from page 1 to post in another form on page 2 one being to a text box and another being a image
page one
<a href="GIFTCARDS/003 BASIC FLOWER.jpg" rel="thumbnail" title="Style - BBA 003"><img src="GIFTCARDS/003 BASIC FLOWER.jpg" alt="bba-003" width="300" height="200" style="width: 150px; height: 100px" name="samplespic" /></a>
<span class="style71"><input name="giftcardstocknumber" type="radio" value="BBA - 003" />Style - BBA 003</span>
need to attach the image displayed with this button
page two
<input type="text" name="product2[]" value="<%response.write(request.form("giftcardstocknumber"))%>" />
<img src="<%=Request("samplepic")%>" alt="giftcard" height="150" width="200"/>
any ideas? just learning asp so should i try and get a javascript or keep it in asp