摘要:
Dojo 提供了一些数组处理方法,看看都有什么。 1、元素定位 dojo.indexOf(array,value) dojo.lastIndexOf(array,value) 功能:返回 value 在 array 中的位置,如果没有找到则返回-1 下面是例子: dojo.indexOf(["a", "b", "c","a", "b", "c"], "c") indexOf 测试 dojo.las... 阅读全文
posted @ 2009-05-18 10:05
左洸
阅读(2800)
评论(1)
推荐(0)
浙公网安备 33010602011771号