Hi All pls let me know why this code is not working we have the code for callback function like below $(document).ready(function() { $("button").click(alert('Good Morning',function() { alert("The paragraph is now hidden"); }); });
callback for button click
Siddangoud Bharamagoudar
61
Reputation points
we have the code for callback function like below $(document).ready(function(){ $("button").click(function(){ $("p").hide("slow", function(){ alert("The paragraph is now hidden"); }); }); });
it is working fine ..
why my below code is not working do not alter the code , pls tell us why it not working
<div>
</div>
<button>Hide Div</button>
<button>Hide Div11</button>
Microsoft 365 and Office | Development | Office JavaScript API
1,066 questions
Microsoft 365 and Office | SharePoint | For business | Windows
11,684 questions
Developer technologies | C#
11,570 questions