You can use .on instead of .live. I think .live has been deprecated. (Check if the version of jQuery that we use supports it first).