Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Explorer ,
Jun 26, 2008 Jun 26, 2008
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?
TOPICS
Getting started
325
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Jul 07, 2008 Jul 07, 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.
Translate
Advocate ,
Jun 26, 2008 Jun 26, 2008
Turn on debugging.
Submit this form in IE7.
is FORM.submit being sent?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 04, 2008 Jul 04, 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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 04, 2008 Jul 04, 2008
deleted. double post: same as above
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 07, 2008 Jul 07, 2008
LATEST
<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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources