Solved

Image as a submit button using asp query

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

757 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

18 Experts available now in Live!

Get 1:1 Help Now