Calling a user defined function in jQuery If you want to call a normal function via a jQuery event, you can do it like this: