Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create submit button 1

Status
Not open for further replies.

byleth

Programmer
Feb 27, 2004
70
PT
Hi,

I'm new to java and i have this urgent task..

I would like to create a submit button (with an image) that beaves like the usual form submit button.

The thing is that i want to stay on the same page but with the values selected in the form... I can't simply make a link with the image pointing to the same page because i would lose the form elements.

can someone give me an orientation on how to do that?

I'm using PHP, and Mozilla.


thanks
 

>> I'm new to java

Do not confuse Java with Javascript. They are as different as Coke and Pepsi ;o)

Anyway - just use an input image:

Code:
<input type="image" src="yourImageSrc.gif">

Hope this helps,
Dan
 
nice, didnt know you could do that!!

__________________________________________________________
"The only difference between me and a mad man is that I'm not mad."
- Dali
 
me neither..

thanks BillyRayPreachersSon :)


ps: i was refering to javascript :)
 
thanks mike. i'm having some trouble with it though.

i want a pie chart...


what do i pass as cData?


i have a cursor with 3 fields (label,value)

so if this was a chart of the racial diversity of some city it might be like...


label | value
-----------------
white |20
black |11
hispanic |7
etc.....

each value = a percentage...
each label = a piece of the pie chart...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top