jquery get element from inline onclick event handler code example Example: set onclick jquery $(elem).click(myFunc());