/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('.editWork').click(function(){ var c = $(this).text(); if(c == 'Düzenle'){ $(this).text('Tamam'); }else{ $('.editWork').text('Düzenle'); } });