I am using kartik widget switchInput as below
<?= SwitchInput::widget([
'name' => 'status_13',
'pluginOptions' => [
'onText' => 'Yes',
'offText' => 'No',
'size' => 'mini',
]
]); ?>
I want to write on change function for this check box. How can I do that?