Fork me on github

04 2016 档案

摘要:'; //iframe加载完成后 $("#iframe").load(function(){ //设置class="name"的值为jeffson $(this).contents().find('.name').val("jeffson"); //设置class="content"的值为abcdefg $(this).contents().find('.conte... 阅读全文
posted @ 2016-04-28 14:20 Champion-水龙果 阅读(694) 评论(0) 推荐(0) 编辑
摘要:冒泡排序: 快速排序: 选择排序: 插入排序: 二叉树(二分法)排序: 阅读全文
posted @ 2016-04-25 10:20 Champion-水龙果 阅读(567) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-04-21 16:50 Champion-水龙果 阅读(312) 评论(0) 推荐(0) 编辑
摘要:<html> <head> <title>js验证输入的金钱格式</title> <script type="text/javascript"> function moneyCheck(){ var isNum = /^\d+(\.\d+)?$/; var money = document.getE 阅读全文
posted @ 2016-04-21 10:09 Champion-水龙果 阅读(614) 评论(0) 推荐(0) 编辑
摘要:使用时: 阅读全文
posted @ 2016-04-13 11:16 Champion-水龙果 阅读(2903) 评论(0) 推荐(0) 编辑
摘要:css: style="cursor: pointer" 例如: <input type="button" style="cursor:pointer"> <a href="#" style="cursor:pointer"></a> <span style="cursor:pointer"></s 阅读全文
posted @ 2016-04-12 09:43 Champion-水龙果 阅读(706) 评论(0) 推荐(0) 编辑
摘要:function formatDate(timestamp){ var test = new Date(parseInt(timestamp) * 1000); var $year = test.getFullYear(); var $month = parseInt(test.getMonth())+1; var $day = test.getDate(); //返回格式... 阅读全文
posted @ 2016-04-06 15:46 Champion-水龙果 阅读(211) 评论(0) 推荐(0) 编辑

Champion-水龙果