摘要:
多张图下载,下载图片,跨域的不可以 download.js源码 //download.js v4.21, by dandavis; 2008-2018. [MIT] see http://danml.com/download.html for tests/usage // v1 landed a F 阅读全文
摘要:
下载视频 <script src="http://danml.com/js/download2.js"></script> var x=new XMLHttpRequest(); x.open("GET", src, true); x.responseType = 'blob'; x.onload= 阅读全文
摘要:
PHP去除小数点后面的0,保留非零 floatval($num) PHP转数组var d = eval(数组d); PHP字符串转数组 $row['0'] = explode(";", $row['0']); PHP空格转下划线:$primary = str_replace(' ', '_', $_ 阅读全文
摘要:
<!-- 点击切换引入 --> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.js"></scrip 阅读全文
摘要:
将上传文件的input的val设置为空 $("#test11").parent().find("input").val(''); 阅读全文
摘要:
$(document).mouseup(function (e) { var _con = $('.select ul'); if (!_con.is(e.target) && _con.has(e.target).length 0) { $('.select ul').slideUp(); $(" 阅读全文
摘要:
参考网站:https://segmentfault.com/q/1010000010391524 { image-rendering: -moz-crisp-edges; /* Firefox */ image-rendering: -o-crisp-edges; /* Opera */ image 阅读全文
摘要:
var top = $(this).offset().top; $('html , body').animate({scrollTop: top-100},10); 阅读全文