My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
datatype  
传给联动菜单的数据格式
data
Updated Feb 27, 2009 by wxnet2...@gmail.com

Introduction

使用javascript的二维数据模拟类别信息在数据库中的存储方式

Details

使用javascript二维数组对类别数据表进行映射:

var data = [
[id,text,pid],
[id,text,pid],
...
[id,text,pid]
];

data demo

对数据脚本的一些说明

  • 建议数据文件的编码设置成utf8

Powered by Google Project Hosting