Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how stop users from submitting empty input in todo list javascript

if(taskInput.value.trim() === "") {
    return;
}
Source by teamtreehouse.com #
 
PREVIOUS NEXT
Tagged: #stop #users #submitting #empty #input #todo #list #javascript
ADD COMMENT
Topic
Name
9+3 =