In this tutorial , we will discuss about how to display two alert box alternately by clicking on text line.
In this tutorial , we will discuss about how to display two alert box alternately by clicking on text line.In this tutorial , we will discuss about how to display two alert box alternately by clicking on text line. In this example, a text line is given ,when we click on it ,it will show a alert box. But when we click on it again , it shows second alert box. It appears one by one. This is due to toggle effect of jQuery.
jqToggleOutputLine.html
<!DOCTYPE html> |
OUTPUT
After clicking on given line ,the output will be :
After clicking on it second time :