jQuery遍历数组jquery

/ / 2023-07-27   阅读:2496
jQuery遍历数组...
var arr1 = [ 'aaa', 'bbb', 'ccc' ];
$.each(arr1, function(key,val){
	console.log(key);
	console.log(val);
});


我要评论

昵称:
验证码:

最新评论

共0条 共0页 10条/页 首页 上一页 下一页 尾页
意见反馈