Submit using an image

Results 1 to 2 of 2

Thread: Submit using an image

  1. #1
    Picachoo Guest

    Default Submit using an image

    i have this on my page<BR>&#060;input type="image" SRC="images/Submit.gif" name="cmdSubmit" id="cmdSubmit"&#062;<BR><BR><BR>when i do a Response.Write Request.Form.Item on the page i submit to i get cmdSubmit.x=43&cmdSubmit.y=19<BR><BR><BR>why is that .x and .y comming. Is there some way i can remove it? What am i doing wrong?<BR>

  2. #2
    Join Date
    Dec 1969

    Default That's the way it works

    You know the "image submit" button has been clicked because it passes the x and y coords... so to see which one has been selected, you do:<BR><BR>If Request.QueryString(cmdSubmit.x) &#060;&#062; "" Then<BR> &#039;you&#039;ve been clicked<BR><BR><BR>Alternatively, you can place a JS command inside a hyperlink/image to submit your form.

Posting Permissions

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