Home > front end > [JavaScript] everyone a great god help small white, save the children ~
[JavaScript] everyone a great god help small white, save the children ~
Time:09-29
Want to do a simple authentication code Demo, there is a little small problem, use the jquery selected span, if captcha input error will be displayed wrong. PNG, right shows true. PNG, results in the browser can't display,
Through the console view, the style is changed, is not, according to
It should be normal as shown in figure: Save the children ~ thank you very much!
CodePudding user response:
Why use the position: absolute; Absolute positioning,
CodePudding user response:
Do with jq selected span after judgment, wrong shows wrong, true, correct after the console examination, error after span label style is correct, but the true icon is not displayed on the page,
CodePudding user response:
Your CSS and js in the same HTML file, different file path is not the same