Let\'s say you have a .click() call. What code could you write inside of that .click() call so that each time you click the selected element, you c
.click()
Try this:
$('#someElement').toggle(function(){ $(this).text('text1'); }, function(){ $(this).text('text2'); } );