I have a div element which will be shown/hidden in many places. Is it possible if I do a
$("#divtobetracked").hide();
or a
$("#divtobetracked").show();
that another action is fired? Because if .hide() of the element, a button should also be hidden, and if the element wil be shown, a button should also be displayed.
So, I think I can write a function which toggle and do the things I want and I call the function if I want to show/hide the element.
But, is there another possibility, sth. like a .live() event?
Best Regards.