Solved

Image as a submit button using asp query

Posted on 1999-01-12
1
135 Views
Last Modified: 2013-12-25
I am using asp to query a database. In answer to the query a number of thumbnail and text are shown depending on the search. What I want to do is use the thumbnail as a submit button to access the DB and return more in depth info. I currently have a submit button along side the thumbnail but i wish to discard the ugly grey button.
0
Comment
Question by:dgeorgio
1 Comment
 
LVL 11

Accepted Solution

by:
mouatts earned 100 total points
ID: 1830553
The HTML that you require should look something like this

<FORM ACTION="myprog.asp" METHOD="POST">
<INPUT TYPE="HIDDEN" NAME="id" VALUE="the value needed for the thunmbnalil">
any other input fields can go here abouts
<INPUT TYPE="IMAGE" SRC="thumbnail.gif">
</FORM>

Alternatively you can use the following

<A HREF="myprog.asp?id=thumbnail id as above"><IMG SRC="thumbnail.gif></A>

HTH
    Steve

0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Input past end of file vbs script 9 83
Powershell script : Get-ADOrganizationalUnit in windows list box 2 128
exchange 2007, scripts 15 73
Building Windows 10 1 76
The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now