Jquery 函数
来源:互联网 发布:网络机顶盒十大排名 编辑:程序博客网 时间:2024/05/29 18:53
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script type="text/javascript">
/*
var arr = [2, 4, 6];
var arr2 = $.map(arr, function (item) { return item * 2; });
alert(arr2);
*/
var dict = { "tom": 20, "JIM": 19, "lily": 18 };
$.each(dict, function (key, value) { alert(key + "的年龄是:" + value); });
var arr = [3, 5, 7, 9];
$.each(arr, function (key, value) { alert(key + "=" + value); });
//普通数组推荐使用无参的。dict风格的用key、value的。
$.each(arr, function () { alert(this); });
</script>
</head>
<body>
</body>
</html>
- Jquery 函数
- jquery函数
- jQuery 函数
- jquery 函数
- jQuery 函数
- jQuery函数
- jquery 函数
- jquery函数
- jquery函数
- 【jQuery】jQuery实用工具函数
- jQuery jQuery() 函数详解
- 【jQuery 教程】jQuery Callback 函数
- 【jQuery 教程】jQuery CSS 函数
- 【jQuery 教程】jQuery AJAX 函数
- Jquery学习--Jquery Ajax函数
- jQuery核心函数-jQuery(callback)
- 【jquery】jQuery.extend 函数详解
- jQuery 核心函数:jQuery(callback)
- 关于伪操作和伪指令
- C#利用反射,遍历获得一个类的所有属性名,以及该类的实例的所有属性的值
- Timer和TimerTask
- SSH ,vim 显示语法高亮
- 软件项目管理师复习指南十六:项目采购管理
- Jquery 函数
- Alternativa3D 7教程模型篇 -- 导入3DsMax设计的模型文件
- jquery get方式 跨域
- 获取程序的运行参数
- Linux下Apache配置文件详解
- c++中关于return的用法总结
- 如果目标数据是一段内存区的话,该使用什么HASH算法比较合适?
- 哎
- Visual Studio 2005 编译的版本无法启动,出现应用程序配置不正确的错误