Following the question
I am trying to validate input dynamically in JavaScript but I am getting error something like "message": "Uncaught TypeError: attr.test is not a function",
in stack overflow code snippet ..
How can I resolve it ?
below example code
var form = document.querySelector("form");
form.addEventListener("submit",function(e){
e.preventDefault()
…
Top comments (0)