Solved

Image as a submit button using asp query

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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
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…
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…
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 …

707 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