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.
After clicking on given line ,the output will be :
After clicking on it second time :
Posted on: July 28, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles