+ 1

How to create show & hide button with Toggle?

Hi, how to create show and hide Toggle function button using single button. Note-: as soon as I click on button then element should show and hide with changing text of button as Show , Hide

26th Oct 2020, 8:57 PM
PRADEEP KHILLARE
PRADEEP KHILLARE - avatar
2 Réponses
0
Only one button wanted.
28th Oct 2020, 12:07 PM
PRADEEP KHILLARE
PRADEEP KHILLARE - avatar
0
If I display element then button text should be hide. As soon as click on hide button element will be hide and simultaneously button text changes as show.
28th Oct 2020, 12:09 PM
PRADEEP KHILLARE
PRADEEP KHILLARE - avatar