0
What is the function of (method = value) on the input element and what does it mean (return true and return false)
2 ответов
+ 1
Return true allow the action to take place and return false decline the action take place.
In both the cases when user enter same or not same data false is returned but when the data is equal before returning false true is returned as the condition became true so true comes in action
0
Then what is the use of (element.value) in js