摘要:
<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 阅读全文