2017年7月14日

摘要: $(".tag_wrap").on("click",".tag_add",function(){}) 阅读全文
posted @ 2017-07-14 16:15 sameer的史迪仔 阅读(121) 评论(0) 推荐(0)
 
摘要: $(".tag_add").css("background","#ffffff"); $(".tag_add").css("color","#000000"); $(this).css("background","#1f7ff3"); $(this).css("color","#ffffff"); 阅读全文
posted @ 2017-07-14 14:59 sameer的史迪仔 阅读(159) 评论(0) 推荐(0)
 
摘要: 获得内容 - text()、html() 以及 val() 三个简单实用的用于 DOM 操作的 jQuery 方法: text() - 设置或返回所选元素的文本内容 html() - 设置或返回所选元素的内容(包括 HTML 标记) val() - 设置或返回表单字段的值 阅读全文
posted @ 2017-07-14 14:57 sameer的史迪仔 阅读(273) 评论(0) 推荐(0)