<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>鼠标拖拽多选功能</title> <script src="https://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script> Read More
posted @ 2017-12-16 16:39 xzzzys Views(1318) Comments(0) Diggs(0) Edit
odd表示奇数行,even表示偶数行; tr:nth-child(odd); .table-striped > tbody > tr:nth-child(odd) { odd表示奇数行,even表示偶数行; tr:nth-child(odd); .table-striped > tbody > tr Read More
posted @ 2017-12-16 15:55 xzzzys Views(11426) Comments(0) Diggs(0) Edit
jquery如何获取第一个或最后一个子元素? 通过children方法,children("input:first-child") $(this).children("input:first-child").val(); $(this).children("input:last-child").va Read More
posted @ 2017-12-16 15:54 xzzzys Views(1866) Comments(0) Diggs(0) Edit
<script> var windowHeight = $(window).height(), $body = $("body");// console.log($(window).height());// console.log($('body').height()); $body.css("he Read More
posted @ 2017-12-16 15:45 xzzzys Views(183) Comments(0) Diggs(0) Edit