Solved

Image as a submit button using asp query

Posted on 1999-01-12
1
147 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

732 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