values in an image button??? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

values in an image button???

does anyone know how to get a value out of an image button? I'm using a form and it has several image buttons. I've had to make a seperate form for every image button with a hidden field to carry the value of the image button. Now this would be no big deal, but at the end of every form there are automatically 3 lines added before the next one starts. So the images are spread apart.

I've tried using this, and the value won't pass.

input type="image" src="/images/blah.gif" value="blah">

of course the form will submit, but the value won't carry like a normal button. I have tried everything I can think of. Any Ideas? Using a QUERY_STRING is not an option I want to take either.



Sign In or Register to comment.