How could I reduce this kind of selector?
$("#id .class1, #id .class2, #id .class3, #id .class4, #id .class5").on("mouseover", function(e){
// code
});
EDIT:
Example:
$("#my_id .product, #my_id .date, #my_id .due").on("mouseover", function(e){
$(this).addClass("edit");
});
You can use the selector overload that uses context.
The context can be a jQuery wrapped set or another selector string.