on change? Not sure if this is good tho but i've seen other tutorials online... again... not sure if its good, i would go with event listener too..
On click for the submit button yeah maybe but thats just as good as server side validation and return errors. I guess op wants a fancy approach and so on change is the best way.
Обсуждают сегодня