Can you please take a look at this demo and let ma know how I can call/toggle two functions from outside of the toggle()
function printConsole() { console.log("This is From Function A"); } function printAlert() { alert("This is From Function B"); } $("#toggler").toggle( printConsole(); printAlert(); );
<button id="toggler">Toggle Fnctions</button>