摘要: js命名空间的使用:test.html代码如下: 测试命名空间 测试命名空间 test.js的源码:var a = { $scope : "xxxxxx", add:function( ) { $scope = "ttttt"; $("#htmla").html( $scope); //输出... 阅读全文
posted @ 2014-08-07 18:21 ylong52 阅读(182) 评论(0) 推荐(0) 编辑