Using click event instead of onclick attribute to change producers