随笔分类 - jQuery
摘要:$(":radio[name='xxx'][value='" xx"']").prop("checked", "checked");
阅读全文
摘要:$(".text").keyup(function (event) { if (event.keyCode == 13) { $(".btn").trigger("click"); } });
阅读全文
摘要:function getFormatDate() { var nowDate = new Date(); var year = nowDate.getFullYear(); var month = nowDate.getMonth() + 1 < 10 ? "0" + (nowDate.getMon
阅读全文
摘要:<!doctype html> <html> <head> <meta charset="utf-8"> <title>jQuery对表格内容进行搜索筛选</title> <script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js">
阅读全文
摘要://年月日 function ChangeDateFormat(cellval) { var date = new Date(parseInt(cellval.replace("/Date(", "").replace(")/", ""), 10)); var month = date.getMon
阅读全文

浙公网安备 33010602011771号