tags:

views:

48

answers:

2

I have a html mail form and I was just wondering why I get the coordinates of the submit image button in the body of the message in firefox, is there a way to delete that.

thanks

 <form method="post" action="mailto:[email protected]?subject=Password Request enctype="text/plain">
            <input type="image" id="email_button" src="images/buttons/here.png">
</form>
A: 

either don't use input type=image or just ignore the data. what problem are you trying to solve?

just somebody
It's not a problem,I was just wondering if there was a way to get rid of it.
amir
an `a` element is certainly a wrong (and laborous) way to submit form.
just somebody
Dear somebody, a you sure that form is really needed in this case? :)
silent
no, i was just assuming that the method was POST for a reason
just somebody
it is just author mistake to choose a form with post method, though
silent
A: 

You can do something like this:

<a href="mailto:[email protected]?subject=Password Request">
    <img id="email_button" src="images/buttons/here.png" />
</a>
silent
thanks,just what I needed
amir