Common.js

Dari GBI Danau Bogor Raya
Revisi sejak 27 Oktober 2022 23.44 oleh Leo (bicara | kontrib) (upd)
(beda) ← Revisi sebelumnya | Revisi terkini (beda) | Revisi selanjutnya → (beda)
Lompat ke: navigasi, cari

$('button').click(function(){ //you can give id or class name here for $('button')

   $(this).text(function(i,old){
       return old=='+' ?  '-' : '+';
   });

});