dimanche 1 septembre 2019

how to change the text in the button after the button is clicked in rails

I initially have a button which has text "follow" after clicking it I need it to change it to "requested" or any other text. How it can be done.

Aucun commentaire:

Enregistrer un commentaire