
javascript
文章平均质量分 53
疯汉三
指挥中心错误状态中疯狂的战斗机
展开
-
javascript要点,易忽略的基础
common.js文件//====================================================//匿名函数var fun1 = function (i, j) { return i + j;}//alert(fun1(20, 30));//=================================================原创 2014-05-19 20:07:32 · 614 阅读 · 0 评论 -
javascript 动态修改Li的值
修改Li的值 function gel(id) { return document.getElementById(id); } //全局的input输入控制 var inpt = document.createElement("input"); inpt.setAtt原创 2014-05-22 13:56:28 · 2382 阅读 · 0 评论 -
交换li的值.html
交接li的值.html 交换Li的值 window.onload= function() { var lis = document.getElementById("ulList").childNodes; for (var i = 0; i < lis.length; i++) {原创 2014-05-21 20:23:28 · 1061 阅读 · 0 评论 -
js动态添加表格,全选和删除
效果图:代码:原创 2014-05-21 19:58:38 · 1514 阅读 · 0 评论 -
javascript常见用法
js解码和编码.html javascript的编码和解码 function gel(id) { return document.getElementById(id); } window.onload = function() { //alert(document原创 2014-05-21 16:01:27 · 601 阅读 · 0 评论 -
动态切换图片
css/index.css* { margin: 0px;padding: 0px;}body { width: 632px; /*background-color: blue;*/ margin: 0 auto;}#imgsCom { background-color: yellow; /*相对定位,为了下层可以使用绝对定位时以本d原创 2014-05-22 18:17:14 · 648 阅读 · 0 评论 -
js+css tab菜单切换效果
css\index.css* { margin: 0px; padding: 0px;}body { width: 600px; margin: 0 auto; background-color: silver;}#contanier { background-color: yellow; width: 600px;height原创 2014-05-22 17:25:18 · 799 阅读 · 0 评论 -
c# 执行js 动态编译
using System;using System.CodeDom.Compiler;using System.Collections.Generic;using System.Linq;using System.Reflection;using System.Text;using System.Threading.Tasks;namespace webpro{ publ原创 2014-12-13 14:29:24 · 1165 阅读 · 1 评论