This discussion is archived
2 Replies Latest reply: Dec 7, 2012 4:53 AM by Patrick Wolf RSS

Can't Trap Radio Button Change after 4.2 Upgrade

Joe Upshaw Journeyer
Currently Being Moderated
Under 4.1, we had a Dynamic Action using a jQuery selector on Change of table.radiogroup.

This would fire whenever the end user clicked a radio button and, thus, changed the value. It also fired on Page Load.

Under 4.2, it simply doesn't fire. Even if I remove all JS and just put an alert, the event is no longer being fired. I have confirmed that it is still table with class of "radiogroup" So; "table.radiogroup" should still work as my jQuery selector. By the way, I also tried Clicked and GetFocus but, none of these would fire either.

-Joe
  • 1. Re: Can't Trap Radio Button Change after 4.2 Upgrade
    Joe Upshaw Journeyer
    Currently Being Moderated
    Answered my own question. For the benefit of others, in 4.1 the class name was "radiogroup". In 4.2, this has been changed to "radio_group"

    sample snippet of generated HTML:
    <table summary="" role="presentation" class="radio_group">"
    ...
    {code}
    -Joe                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
  • 2. Re: Can't Trap Radio Button Change after 4.2 Upgrade
    Patrick Wolf Employee ACE
    Currently Being Moderated
    Hi Joe,

    why don't you just register the change/click event for your page item? Why do you use the table as parent object? You only have to specify the page item name and you are done.

    Regards
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points