Posted By

ekinertac on 04/06/11


Tagged


Versions (?)

jQuery Click Toggle


 / Published in: jQuery
 

  1. $('.editWork').click(function(){
  2. var c = $(this).text();
  3. if(c == 'Düzenle'){
  4. $(this).text('Tamam');
  5. }else{
  6. $('.editWork').text('Düzenle');
  7. }
  8. });

Report this snippet  

You need to login to post a comment.