Home >Web Front-end >JS Tutorial >Verification code does not change when pressing enter - javascript skills

Verification code does not change when pressing enter - javascript skills

WBOY
WBOYOriginal
2016-05-16 17:39:06951browse

I made a simple mistake today. When the verification code picture was displayed, there was no random parameter added after it.
The result is in IE, no matter how you press Enter, the same verification code is displayed. It is the same when opening two IEs.
Because I usually use Firefox and did not test with IE, I did not find this bug.

The solution is as follows:

Copy the code The code is as follows:


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn