[thelist] input type="image" value not being passed in IE6/XP

Erik Mattheis gozz at gozz.com
Wed Nov 24 14:52:05 CST 2004


Two ideas:

Make the two images one image and examine what part of the image has 
been clicked.

If requiring JavaScript is OK, you could call a function upon clicking 
an image input in a separate form which would populate hidden form 
fields from the actual form before submitting.


On Wednesday, November 24, 2004, at 06:10  AM, john at johnallsopp.co.uk 
wrote:
> I've a form with an input type="image", a value, and a name:
>
> <input type='image' value='previous' name='p'
> src='images/previous.gif' alt='See more recent news' title='See more
> recent news'  onMouseOver="this.src='images/previouso.gif';"
> onMouseOut="this.src='images/previous.gif';" >
>
> In Firefox/Linux it passes p.x, p.y, and p=previous.
>
> In IE6/XP it doesn't seem to pass the p=previous.
> ...
> All I'm trying to do is work out which of the two images has been
> clicked.

--
- Erik Mattheis
612 377 2272
http://gozz.com/



More information about the thelist mailing list