Talk About Network

Google


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 > Re: Buttons
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 6 Topic 368 of 441
Post > Topic >>

Re: Buttons

by David Dorward <dorward@[EMAIL PROTECTED] > Oct 3, 2005 at 06:57 PM

MyndPhlyp wrote:

>> <button name="edit" value="edit_this" type="submit">
>> <img src="edit.gif" height="24" width="24" alt="Edit" />
>> </button>
> 
> Well, I found part of the problem. It's actually IE that returns
innerText
> rather than the <button>'s value, contrary to the W3C recommendations.

Yes, IE is very broken.

> So now it's onward to <input type="image">.

Most browsers don't send the value of image types, just the coordinates
that
were clicked.

> Are there any limitations on what characters make up "name"?

Not that I'm aware of, but its probably best to stick to alphanumerics and
underscores.

-- 
David Dorward       <http://blog.dorward.me.uk/>
  <http://dorward.me.uk/>
                     Home is where the ~/.bashrc is
 




 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 Thu Jul 24 13:32:33 CDT 2008.