Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

button disabled

const textDisabled = text.length === 0 || text.trim().length === 0
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #button #disabled
ADD COMMENT
Topic
Name
6+2 =