- OnChange wont trigger even if the user navigates through empty form fields, onBlur event solves this problem by always being triggered any time an input selection, or focus, leaves a field.
- innerHTML gets all of the content of an element, including any HTML tags.
No comments:
Post a Comment