The jQuery show() method is used to show the selected elements.
Syntax:$(selector).show();
$(selector).show(speed, callback);
$(selector).show(speed, easing, callback);
Speed: It is an optional parameter which describe the speed of the delay to hide the current element. Its possible vales are slow, fast and milliseconds.
Easing: It specifies the easing function to be used for transition.
Callback: It is also an optional parameter. It specifies the function to be called after completion of show() effect.
Example of Code<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("#show").click(function(){
$("#jquery-show-example").show();
});
});
</script>
<p id="jquery-show-example" style="display:none;">Show button is working.</p>
<button id="show">Show</button>
Output
