Код: Выделить всё
sample 1
sample 2
Код: Выделить всё
Button 1
Button 2
В моем случае у меня есть функции для обоих из них
Код: Выделить всё
$("#menu").change(function () {...
$(".parentcheck").click(function () {...
Подробнее здесь: https://stackoverflow.com/questions/766 ... on-with-js