IE 6 not sending post value of Input type Image

The same issue was reported here and here.

IE 6 doesn’t send the name/value pair for <input type=”image”> elements. It only sends the x/y coordinates.  I don’t have this issue with FireFox.

Why have a value at all if you don’t display it or send it in the post? Because the W3C said so.

This isn’t a issue in ASP.NET(they take care of this with the Commands), but I was working on a ColdFusion side project and was posting forms the old school way.

My solution to this problem is not ideal but the common approach.  I have a hidden form element I set with JavaScript to be inlcuded in the form post.

Posted in HTML. Tags: , . Leave a Comment »