![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jQuery
眼眸'
这个作者很懒,什么都没留下…
展开
-
ajax和servlet写一个表单验证
用 ajax和servlet正则表达式验证表单 效果图: html代码 账号:<input type="text" name="name" id="name" index="0" /> <br /> 密码: <input type="text" name="pwd" id="pwd" index="1" /> <br /> <inp...原创 2019-10-25 14:12:25 · 219 阅读 · 0 评论 -
html和jQuery实现一个开心小农场游戏
css样式代码 div{ font-size:12px; border:#999 1px solid; padding:5px; } #bg{ /*控制页面背景*/ width:456px; height:266px; background-image:url(images/plowland.jpg); } img{ /*控制图片*/ position:absolute; to...原创 2019-10-25 12:08:59 · 2265 阅读 · 0 评论 -
用html和jQuery来实现图片的切换
用jQuery做一个警灯的效果 css样式代码: <style> .blue{ height: 40px; width: 35px; background-color: blue; border-radius: 20px 20px 2px 2px; } .red{ hei...原创 2019-10-25 11:54:52 · 278 阅读 · 0 评论 -
用html和jQuery做一个判断文本框输入的内容是否正确
用正则表达式判断表单是否正确 效果图如下: 声明:输入格式不正确后面就会显示×号,输入正确就是√ html代码: <table> <tr> <td>用户名:</td> <td><input type="text" name="name" index="0" /></td> </t...原创 2019-10-24 22:26:04 · 2626 阅读 · 0 评论