Image Submit Buttons

Results 1 to 4 of 4

Thread: Image Submit Buttons

  1. #1
    Kevin Guest

    Default Image Submit Buttons

    Does anyone know how to or why I can not access the value of a image submit button. Example <input type=image name=action value=Edit src=/img/job/edit.gif>. I can&#039t get my script to pick up the value of this.

  2. #2
    Join Date
    Dec 1969

    Default RE: Image Submit Buttons

    According to the microsoft site, any value property for an input type image is ignored...

  3. #3
    Kevin Guest

    Default RE: Image Submit Buttons

    That doesn&#039t bode well. Thanks much.

  4. #4
    Jeff Sorenson Guest

    Default RE: Image Submit Buttons

    Although you cannot access the value of the button, you can determine if the button has been selected by using the following code on the page that the form is posted to.<BR><BR>If Request.Form("Edit.x") &#060;&#062; "" Then<BR> Do Stuff<BR>End If<BR><BR>The x represents the x coordinate of the image location. It will only contain a value if that button was selected. Also, in order to work the input tag must contain onclick=submit and the &#060;Form&#062; tag must contain action="some page" with some page being the page where the form will be posted.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts