Use .on to bind events