Skip to main content
Inspiring
June 21, 2008
Question

cfselect bind to keypress and onChange?

  • June 21, 2008
  • 1 reply
  • 685 views
Here's a quickie (I think):

I want to bind a cfdiv to a cfselect. I want the div to refresh whenever the cfselect value changes, whether the change is caused by a mouse select or a keyboard. The default action for binding the div to the cfselect seems to be onChange, which (at least in Firefox 2) only refreshes on a mouse click; changing it to keypress only refreshes it on (surprise) using the keyboard to change the value.

What's the easiest way to get it to refresh regardless of how the cfselect value is changed?
    This topic has been closed for replies.

    1 reply

    AquitaineAuthor
    Inspiring
    July 2, 2008
    anybody?