How to disable a button without using disabled attribute? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

How to disable a button without using disabled attribute?

Button is placed inside a <div>. Need to apply disable functionality for <div> instead of <button>.

6th Apr 2019, 3:24 PM
sbkrish
sbkrish - avatar
1 Réponse
+ 1
Refer this code: <div class="foo"> <button>submit</button> </div> How to apply a disable effect for <div>?
6th Apr 2019, 3:57 PM
sbkrish
sbkrish - avatar