Web前端
icanhaha
这个作者很懒,什么都没留下…
展开
-
Web之一 JS
1.js各种弹窗1).alert alert("hello");2).confirm if(confirm("how are you?") == true){ document.write("好"); }else{ document.write("不好"); }3).prompt var scope = prompt("请输入你的成绩","100"); alert("我原创 2016-02-19 17:37:20 · 361 阅读 · 0 评论 -
Web之二 jQuery
一、jQuery选择器1、基本选择器 1)改变 id 为 one 的元素$("#one").css("background", "#ffbbaa");2)改变 class 为 mini 的所有元素$(".mini").css("background", "#ffbbaa");3)改变元素名为 的所有元素$("div").css("background"原创 2016-02-24 14:03:34 · 500 阅读 · 0 评论