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 > Re: Form Input ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 9897 of 10681
Post > Topic >>

Re: Form Input Trouble

by "Jukka K. Korpela" <jkorpela@[EMAIL PROTECTED] > May 7, 2008 at 11:19 AM

Scripsit Daniel Rudy:

> Here's a strange one...

Why no URL?

> <input type="image"

Why? <input type="submit"> works _so_ much better. See
http://www.cs.tut.fi/~jkorpela/forms/imagebutton.html

> name="menuselect"

Traditional wisdom says that the for <input type="image">, the name 
attribute should be informative, because some user agents may use its 
value in place of the image.

> alt="User Admin"

That's cryptic.

> onmouseover="toolTip('<img src=/menu/icon/icon_users1.png height=32px
> width=32px align=top> Edit the user database.')"
> onmouseout="toolTip()">

That's probably irrelevant to the problem at hand, but the old wisdom 
says that if an element "needs" a tooltip, the page needs redesign. If 
there's some essential information, it should be hidden in a tooltip 
that may or may not be displayed, depending on browser configuration and 
properties.

> In the Gecko browsers (Netscape, FF, Seamonkey, Safari, Flock, etc...)
> when I click on that image, the browser submits the contents of the
> value field to the server in the post operation, along with the X,Y
> coordinate that was clicked.

That's what happens under the new interpretation of the HTML 
specification.

> But in IE and Opera, I only get the coordinates...

That's the old interpretation.

> Is this a quirk of IE and Opera or what?

No.

> If you just click on it, the page refreshes per
> the code...since it's looking for menuselect and not menuselect_x,
> menuselect_y.

Use <input type="submit">, Luke.

-- 
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
 




 4 Posts in Topic:
Form Input Trouble
Daniel Rudy <spamthis@  2008-05-07 01:04:25 
Re: Form Input Trouble
"Jukka K. Korpela&qu  2008-05-07 11:19:33 
Re: Form Input Trouble
Daniel Rudy <spamthis@  2008-05-08 16:32:51 
Re: Form Input Trouble
Travis Newbury <Travis  2008-05-08 17:22:50 

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 Oct 16 0:32:30 CDT 2008.