It's probably an old chestnut for this group, but I'll risk it anyway.
I'm doing some classic ASP work in server-side VBScript and I can't seem
to
find a way to get <button> to return the value instead of an <img> tag's
contents.
For example:
<button name="edit" value="edit_this" type="submit">
<img src="edit.gif" height="24" width="24" alt="Edit" />
</button>
I'd like to get "edit_this" when I go through the POST data but I seem to
be
stuck getting the <img> tag.
As an alternative I could use ...
<input type="image" src="edit.gif" height="24" width="24" alt="Edit"
value="edit_this" />
But the pixel coordinates of the image are returned rather than the value.
And I'm trying hard to avoid resorting to client-side JavaScript.
Any ideas?