![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jQuery
郝静and静静
这个作者很懒,什么都没留下…
展开
-
(function(){})与$(function(){})
(function(){})代表一个匿名函数;而$(function(){})是$(document).ready(function(){})的简写。原创 2016-11-29 11:22:17 · 3070 阅读 · 0 评论 -
事件冒泡
div style="background:lightgray;"> 外层div元素 span style="background: gray;">内层span元素span> 外层div元素 div> div id="test"> div> script type="text/javascript"> $(document).ready(function ()原创 2016-12-01 16:44:15 · 189 阅读 · 0 评论 -
表单提交
form method="post" action="index.html"> fieldset> legend>个人基本信息legend> div> label for="username">姓名:label> input id="username" type="text">br> l原创 2016-12-01 17:17:52 · 217 阅读 · 0 评论