Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Html Tags > Buttons
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 368 of 439
Post > Topic >>

Buttons

by "MyndPhlyp" <nobody@[EMAIL PROTECTED] > Oct 2, 2005 at 10:04 PM

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?




 6 Posts in Topic:
Buttons
"MyndPhlyp" <  2005-10-02 22:04:18 
Re: Buttons
"MyndPhlyp" <  2005-10-03 00:21:12 
Re: Buttons
David Dorward <dorward  2005-10-03 18:57:44 
Re: Buttons
"MyndPhlyp" <  2005-10-03 19:09:21 
Re: Buttons
"Jukka K. Korpela&qu  2005-10-03 20:22:58 
Re: Buttons
"MyndPhlyp" <  2005-10-03 20:31:54 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 0:09:42 CDT 2008.