摘要:
解决子类中设置opacit影响父类:通过这种设置:background:rgba(0,0,0,0.5); 阅读全文
摘要:
<div class="panel" style="display: block"></div> 1.使用css属性var state = $('.panel').css('display');if(state = "block"){}2.使用jqueryvar state = $('.panel' 阅读全文
摘要:
上传原理:var file = $(event.target)[0].files[i];var reader = new FileReader();reader.onload = function ( event ) { var txt = event.target.result; //base64 阅读全文