In this tutorial, we will discuss about how to change paragraph by clicking button using jQuery.
In this tutorial, we will discuss about how to change paragraph by clicking button using jQuery.In this tutorial, we will discuss about how to change paragraph by clicking button using jQuery. In the above example, a button & paragraph is displaying initially .When we click on button , a new paragraph will be displayed and the old one will hidden by this effect.
jqTogglePara.html
<!DOCTYPE html> |
OUTPUT
After clicking "toggle " button :
It will change alternately after every click on" Toggle button".