how can we call a model onclick jquery code example Example: set onclick jquery $(elem).click(myFunc());