In this tutorial, we will discuss about how to hide/show paragraph by clicking on button using jQuery. In the below example, button click event generate action of hiding paragraph and it also displays another button "click to show paragraph " .when we click on it , it will display paragraph ,which was hided previously.
jqHideParaOnClick.html
<!DOCTYPE html> |
OUTPUT
Before clicking any button :

After clicking button :

After clicking above button :

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.