Skip to main content
Inspiring
June 26, 2008
Answered

Works in Firefox not IE (what did i do wrong?)

  • June 26, 2008
  • 4 replies
  • 415 views
The attached code works in Firefox but not in IE7. The page will submit back to itself and then relocate to the appropriate place (in firefox) but in IE it just reloads the same page and does not relocate. It's as if the <cfif isdefined('submit')> is not being recognized at all. Anybody know why?
This topic has been closed for replies.
Correct answer ajdklfajdlk
<cfinput type="image" src="images/continue_button.gif" name="submit" value="Continue">


That tag submits a submit.x and submit.y but not a submit as it does
in firefox. I included a hidden field named submit and it resolved the issue.

4 replies

ajdklfajdlkAuthorCorrect answer
Inspiring
July 7, 2008
<cfinput type="image" src="images/continue_button.gif" name="submit" value="Continue">


That tag submits a submit.x and submit.y but not a submit as it does
in firefox. I included a hidden field named submit and it resolved the issue.
Inspiring
July 4, 2008
deleted. double post: same as above
Inspiring
July 4, 2008
how did you submit? did you click on the submit button or did you press the enter key? it will read the submit button in both ways in firefox. But in IE, pressing enter key to submit will not read the submit button(that stinks!). you might want to add a hidden field in your form to do a workaround on this. see attached code.
Participating Frequently
June 26, 2008
Turn on debugging.
Submit this form in IE7.
is FORM.submit being sent?