Home > Web Front-end > JS Tutorial > JQuery small exercises (example code)_jquery

JQuery small exercises (example code)_jquery

WBOY
Release: 2016-05-16 18:48:34
Original
1385 people have browsed it

1. The button counts down for 10 seconds before you can click it. This effect is generally used when registering in some forums. Without further ado, just enter the code:

Copy the code The code is as follows:













2. Change it with just one click. This effect was so cool when I didn’t learn jquery more than a month ago. Now I think it is actually very simple. You can see the effect of jquery on the front-end. It greatly simplifies the difficulty of writing. The code is as follows:
Copy the code The code is as follows:











Just click change!






The above code Just copy it directly to the html file, and make sure there is no error in importing the jquery.js file, and you can run it.
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template