- 博客(8)
- 收藏
- 关注
原创 对于文本溢出处理的方法
1.单行文本溢出处理 { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } 2.多行文本溢出处理(比较适合webkit浏览器和移动端的浏览器) { overflow:hidden; text-overflow:ellipsis; dis
2017-11-06 11:29:15 404
原创 星星点评
html: js: $('#clickStar').on('click','img',function(){ var curr=$(this).index(); var imgList=$('#clickStar img'); console.log(imgList.length); for(var i=0; i var tempImg=imgList[
2017-11-01 12:09:00 220
原创 上传多个图片,并存储在session中,并且可以删除
$("#imgFileren").change(function(){ //alert($(this)); ajaxFileUploadTwo($(this)); }); var imgCount = 0; var imgList={} function ajaxFileUploadTwo(select) { var fileId = select.attr("id"); $.aj
2017-09-24 12:12:02 1170
原创 关于mobiscroll treelist
出警 巡逻 会议 $(function(){ $('#reason_').on('click', function() { $('#remarklist').mobiscroll().treelist({ theme : "ios7", lang : "zh", display : 'bottom'
2017-09-21 08:12:43 949
原创 session存储判断“当返回”当前页面的状态的展示
$(function(){ var getId=sessionStorage.getItem("ids"); console.log(getId); if(getId){//如果存在改值时,进行一下操作 console.log(getId); $("#"+getId).siblings().addClass('active');//判断你将要展示的状态(或者样式) $("#"+getI
2017-08-31 21:27:50 287
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人