I am trying to do something tricky (at least to me) in jquery. I have a checkbox that is bound to a function called add_course which looks like this:
fu
Use jquery's trigger() function.
$('.courseDel').trigger('click');