473,406 Members | 2,220 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

how to use an image instead of a submit button

can anyone tell me or direct me to a link that shows how to use an image
instead of a submit button and a form to post data forward to the next page?
I wish to replace my buttons with images( icons) can use <a hreftag to
simply open the page but how to carry forward a variable
Nov 10 '06 #1
4 1588
rh

"mantrid" <ia********@virgin.netwrote in message
news:Xa******************@newsfe2-gui.ntli.net...
can anyone tell me or direct me to a link that shows how to use an image
instead of a submit button and a form to post data forward to the next page?
I wish to replace my buttons with images( icons) can use <a hreftag to
simply open the page but how to carry forward a variable

http://www.w3.org/TR/html4/interact/...-control-types

Nov 10 '06 #2
On Fri, 10 Nov 2006 20:21:11 GMT, in comp.lang.php "mantrid"
<ia********@virgin.net>
<Xa******************@newsfe2-gui.ntli.netwrote:
>| can anyone tell me or direct me to a link that shows how to use an image
| instead of a submit button and a form to post data forward to the next page?
| I wish to replace my buttons with images( icons) can use <a hreftag to
| simply open the page but how to carry forward a variable
<form>
<button type="submit" value="next"><img src="btn.gif"></button>
</form>
or something like that.
---------------------------------------------------------------
jn******@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------
Nov 10 '06 #3
THANKS
thats helped alot

"rh" <di*************@cableone.netwrote in message
news:12*************@corp.supernews.com...
>
"mantrid" <ia********@virgin.netwrote in message
news:Xa******************@newsfe2-gui.ntli.net...
can anyone tell me or direct me to a link that shows how to use an image
instead of a submit button and a form to post data forward to the next
page?
I wish to replace my buttons with images( icons) can use <a hreftag to
simply open the page but how to carry forward a variable

http://www.w3.org/TR/html4/interact/...-control-types

Nov 10 '06 #4
Hi..
use this

<input type="submit" name="submit" border="0"
style="background-image:url(submit.jpg)" />

Bye

mantrid wrote:
THANKS
thats helped alot

"rh" <di*************@cableone.netwrote in message
news:12*************@corp.supernews.com...

"mantrid" <ia********@virgin.netwrote in message
news:Xa******************@newsfe2-gui.ntli.net...
can anyone tell me or direct me to a link that shows how to use an image
instead of a submit button and a form to post data forward to the next
page?
I wish to replace my buttons with images( icons) can use <a hreftag to
simply open the page but how to carry forward a variable
>
>
http://www.w3.org/TR/html4/interact/...-control-types

Nov 11 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Nicolas Keller | last post by:
Hi! I'm used to have Mozilla for testing my PHP sites when I'm coding. The site's nearly finished, now I've made a test with the Internet Exlporer... guess what... failed. The problem: I'm...
2
by: Colin Steadman | last post by:
I have two buttons on my form and need to know which was clicked. If I setup the buttons like this: <input type="submit" value="submit" name="submit_to_array"> <input type="submit"...
4
by: Ice Man | last post by:
Hi all How Can I submit a form by clicking on an image instead of the submit button? Thanks
3
by: John Dunlop | last post by:
(Note crosspost and follow-ups to ciwah.) Nicolas Keller wrote in thread "Differences in form handling btw Mozilla and IE?": > The problem: I'm using a form that submit's (POST) its data via...
6
by: Marek Mänd | last post by:
Can the <button><img></button> mutated via CSS so, that the inner image of <BUTTON> would entirely visually become the button itsself - I mean without the outer elements borders and so... ...
2
by: Matt | last post by:
In the following code, I have 2 questions regarding submit button with image. 1) Does this code <input type="image" name="populate" src="populate.gif"> behave the same as an HTML submit button...
3
by: Russell | last post by:
I have a web page that i am using an image button as my submit button. The code behind the button works, but when I click enter on the web page, nothing happens. Can anybody tell me how to get my...
1
by: Phil_Cam | last post by:
Hello All On a webpage I have a standard paypal image button for purchases. I am trying to set it up so that it only shows up or is endabled when text is entered into a textbox and a button is...
3
by: jackiepatti | last post by:
QUESTION: I have a web page containing a form that contains an image instead of a submit button, e.g. <form name='myform' action='get' method='otherpage.asp'> <input type='image'...
4
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all I have the following code: I am trying to use the value of the image button to evaluate what plan the user has chosen, i.e. it request("submit1")="Basic", then the user chose basic plan...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.