jquery register onclick new element code example Example: set onclick jquery $(elem).click(myFunc());