Okay, so here's the scenario. I have a simple HTML page:
<html>
<head>
</head>
<body>
<form action="submit.php" method="get">
<input type="image" src="btn_getStarted.png" name="getStarted" value="btnBasic1" alt="Submit" />
</form>
</body>
</html>
Along with the submit.php page:
<?php
if(isset($_GET['getStarted'])) {
echo "GOOD";
}
else {
echo "BAD";
}
?>
When submitting the form, I wold expect to be able to retrieve the value of getStarted
, but that is not the case in IE.
Here are the URL's that are submitted:
Firefox: http://localhost/submit.php?getStarted.x=57&getStarted.y=11&getStarted=btnBasic1
IE8: http://localhost/submit.php?getStarted.x=50&getStarted.y=21
IE6: http://localhost/submit.php?getStarted.x=67&getStarted.y=14
I'm not really sure why IE is not receiving the btnGetStarted
name from the input. Any help would be greatly appreciated. Thanks.