navigation link clicks hide/show button when loaded ajax loaded
Hi,
I currently have click functions for my navigation links to show and hide a button based on what is clicked but some pages load (utilisation) loads via ajax and therefore I need to hide the button until it's loaded. Can anyone help me out here please?
Thanks
$( "#administration, #history, #vehiclereport, #plantreport, #trailers" ).click(function() {
$(".btn-toolbar-image").hide();
});
$( "#fleet, #fuel, #improvingbehaviour, #safety, #report, #summary, #trend" ).click(function() {
$(".btn-toolbar-image").show();
});