PeFo Posted June 19, 2007 Share Posted June 19, 2007 Cannot get IE to make use of: <INPUT TYPE='image' class='image-kop' src='Submit.jpg' NAME='add' value='Submit' alt='Submit'> Anyone sees what I´m missing? ...or having a suggestion for imagereplacement of Submitbutton? PeFo Quote Link to comment https://forums.phpfreaks.com/topic/56185-submit-image/ Share on other sites More sharing options...
AndyB Posted June 19, 2007 Share Posted June 19, 2007 That looks like working code to me. What do you mean by 'make use of' that isn't happening? Quote Link to comment https://forums.phpfreaks.com/topic/56185-submit-image/#findComment-277534 Share on other sites More sharing options...
PeFo Posted June 19, 2007 Author Share Posted June 19, 2007 Yes, thats why it took me so long to narrow down to this. But IE is obviously not sending anything 'useful' back to server. I´ll just have to CSS-format a standad input type=submit button. (Thanks to HTML-forum) PeFo Quote Link to comment https://forums.phpfreaks.com/topic/56185-submit-image/#findComment-277566 Share on other sites More sharing options...
ToonMariner Posted June 19, 2007 Share Posted June 19, 2007 check what it is sending back - I think IE sends back the coordinates where the image was clicked rather than the value you assign. Quote Link to comment https://forums.phpfreaks.com/topic/56185-submit-image/#findComment-277570 Share on other sites More sharing options...
PeFo Posted June 19, 2007 Author Share Posted June 19, 2007 My guess too, without verifying it. I´ll test the CSS-version. PeFo Quote Link to comment https://forums.phpfreaks.com/topic/56185-submit-image/#findComment-277593 Share on other sites More sharing options...
AndyB Posted June 19, 2007 Share Posted June 19, 2007 I know that IE sends back the co-ordinates of where an image was clicked - it's how image maps work, and is part of the HTML standard. The 'solution' is instead of looking for $_POST['submitbuttonname'] to look for $_POST['submitbuttonname_x'] (or _y) Quote Link to comment https://forums.phpfreaks.com/topic/56185-submit-image/#findComment-277631 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.