+ 18
Jquery(Event Handling)
Event Handling Show the #banner-message element that is hidden with display:none in its CSS when any button in #button-container is clicked. var hiddenBox = $( "#banner-message" ); $( "#button-container button" ).on( "click", function( event ) { hiddenBox.show(); });
1 Odpowiedź
+ 3
You could use the toggle function for the particular property.