$("#video_is_derivative_true").click(function(){
alert("your code goes here");
});
Add onclick handler to input tag
You can also put something in a change handler
$("#video_is_derivative_true").change(function(){
if($(this).is(':checked')){
alert("more code here");
}
});
source
share