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

AJAX binding and IE radio buttons

Participant ,
Aug 06, 2008 Aug 06, 2008
Hi,

I have a very simple form with a single radio button control (ten buttons). Clicking on any of them is supposed to pass a URL variable to a cfdiv at the bottom of the page (outside the form), which is simply this:

<cfdiv bind="url:#application.codebase#experts/edit-question.cfm?questionVal={questionVal}">

Questionval is simply a number: 1-10.

This works in Firefox, but in IE, there's a 'click lag' - the form value is always one click behind you, and it ignores the first click.

In other words, if the form starts with nothing checked, nothing happens when you click on any of the numbers. When you click on a different number, it refreshes the cfdiv with the value of the previous number - so if the page loads and I click 10, nothing happens; if I then click 1, it loads the cfdiv with a value of 10.

If I use @mousedown I can double-click a button and it will load properly, but obviously that's not an ideal solution. Has anyone encountered this? Is there a way to upgrade the AJAX library within Coldfusion manually?

Thanks!
422
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

Participant , Aug 06, 2008 Aug 06, 2008
Answering my own question: had to use the @click event to make it work properly in IE (questionval={questionVal@click}).
Translate
Participant ,
Aug 06, 2008 Aug 06, 2008
LATEST
Answering my own question: had to use the @click event to make it work properly in IE (questionval={questionVal@click}).
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