随笔分类 -  Jquery

摘要:<form action="${pageContext.servletContext.contextPath}/XXX/###" method="post" id="messageForm"> 姓名:<input name = "name" type="text" /> <button type=" 阅读全文
posted @ 2017-11-12 16:39 ThisCall 阅读(241) 评论(0) 推荐(0) 编辑
摘要:<!--微信小程序--> <div id="page1" class="page page1"> <nav> <div id="weixin" class="row"> <div class="uk-animation-10 col-xs-12 col-sm-6 col-md-6 col-md-of 阅读全文
posted @ 2017-08-31 07:13 ThisCall 阅读(169) 评论(0) 推荐(0) 编辑
摘要:alert($(window).height()); //浏览器时下窗口可视区域高度 alert($(document).height()); //浏览器时下窗口文档的高度 alert($(document.body).height());//浏览器时下窗口文档body的高度 alert($(doc 阅读全文
posted @ 2017-08-31 06:39 ThisCall 阅读(649) 评论(0) 推荐(0) 编辑
摘要:$(function(){ var $personWifePs=$("#wife-money tbody tr"); var $personWife=$("#wife-money").find("input.write"); var $val=null; $.ajax({ type: "POST", 阅读全文
posted @ 2017-08-15 17:56 ThisCall 阅读(741) 评论(0) 推荐(0) 编辑
摘要:<html><head><script type="text/javascript" src="/jquery/jquery.js"></script><script type="text/javascript"> $(document).ready(function(){ function ani 阅读全文
posted @ 2017-08-14 19:54 ThisCall 阅读(934) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-08-14 19:16 ThisCall 阅读(121) 评论(0) 推荐(0) 编辑
摘要:$(function(){// 事件冒泡 $('').bind("click",function(event){ //事件内容 //停止事件冒泡 event.stopPropagation(); })// 默认行为 $("#sub").bind("click",function(event){ // 阅读全文
posted @ 2017-08-14 09:11 ThisCall 阅读(322) 评论(0) 推荐(0) 编辑
摘要:声明变量 var $variable= Jquery 对象; var varibake= DOM对象; var $cr= $("#id"); Jquery 对象; var cr= $cr.get(0) DOM对象;$cr.get(0)此处与 $cr[0] 等同 var cr=document.get 阅读全文
posted @ 2017-08-13 08:44 ThisCall 阅读(199) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示