2 Replies Latest reply on May 2, 2012 7:03 AM by Marijan Tompa [tomaxxi]

    onClick() Event for Radio button

    SASEKUMAR Level 1

      Hi All,

       

      How to add onClick event for Radio button? I have tried and it shows 'Object does not support menthod" error.

       

       

      var myRadioButtonGroup = radiobuttonGroups.add();

                                           with(myRadioButtonGroup)

                                           {

                                              var CoverPages = radiobuttonControls.add({staticLabel:"Cover Pages"});   

                                               CoverPages.onClick=function(){$.writeln("Test");};

                                              var PrelimPages = radiobuttonControls.add({staticLabel:"Prelim Pages"});

                                              var CroppedEdboardPages = radiobuttonControls.add({staticLabel:"Cropped Edboard Pages"});

                                              var ExtraPages = radiobuttonControls.add({staticLabel:"Extra Pages"});

                                           }        

       

      Regards,

      SASE