I trying to change the text link with particular word with a click handler. When I click again the text link should change back. How can I do this?
<div class="checkLevel" id="damonkEYkEY">
<span data-bind="css: safeLevelClass"> </span>
<a href="#" id="checkLevelBtn">签到</a>
</div>
$(document).ready(function(){
$("#damonkEYkEY").click(function(){
$(".checkLevel a").text('签到成功');
});
});