Solved

Image as a submit button using asp query

Posted on 1999-01-12
1
140 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

803 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