In this tutorial, we will discuss about hide/show text by clicking on button. In the below example, there are two buttons : hide and show .The "hide " button is used to hide text and "show button " is used to show text. These actions are fired when "click" event on button is generated.
jqShowText.html
<!DOCTYPE html> |
OUTPUT
Before Clicking button :

After clicking "show" button :

After Clicking "Hide" 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.