I have two span tags. I’d like to swap the content between them once the user clicks on one of them. If the user clicks once more, swap the content again and so on.
$(".sectionTitleText").livequery("click", function () {
var editor = $(this).attr("data-edit-id");
var viewer = $(this).attr("data-view-id");
//Swap code
});
1 Answer