input How to get the automatically filled value? The current automatically filled value cannot be verified.
Verification error message is wrong, and then it needs to be verified when selecting automatic filling.
When submitting at the beginning, it prompts that the mobile phone number cannot be empty
After automatic selection, focus focusin change blur is not triggered
You need to click the mouse again to trigger the blur event
滿天的星座2017-05-16 13:27:57
onchange event will be triggered after the focus leaves the Input, and then get the value
迷茫2017-05-16 13:27:57
The value in placeholder? document.getElementById('XXX').getAttribute('placeholder');
If value is worth document.getElementById('XXX').getAttribute('value');
onchange="getDefault(this)" can also be used