DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
add required attribute javascript
// if you want the element to be required at submission of form element.required = true;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#add
#required
#attribute
#javascript
ADD COMMENT
Topic
COMMENT
Name
2+8 =
Submit