AnsweredAssumed Answered

How can I call a javascript function on checking a checkbox?

Question asked by Abhi Abhi on Jun 11, 2014
Latest reply on Jun 11, 2014 by paperless
hello every one 

if i want to call function  on blur i can do it by adding this on viewdefs.php 

'displayParams' =>
                    array(
                      'field' =>
                      array(
                              'onblur' => 'getalert();',
                        ),
                      ),

but if my field is check box and on checked if i want to call function 
how can i do that  can any one guide me on this .. 

Thanks 

Outcomes