有没有人使用过 GOOGLE SOAP Search API?
它的
doGoogleSearch(clientKey, q, 0, 10, true, "", true, "", "UTF-8", "UTF-8");
其中的关键字q如果是中文,例如‘谷歌’,没有结果返回
英文没有问题,比如 ‘java’
不知道有没有遇到类似问题 ?
啊
var a = { one:1, two:2, three:3, four:4, five:5 };
for (key in a ){
alert(a[key]);
}
但是使用
var a = { one:1, two:2, three:3, four:4, five:5 };
for (item in a ){
alert(a[item]);
}
出错,后来发现 直接 alert(item),显示 [Object]
有知道原因的吗?
- 浏览: 1520 次

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
Google SOAP Search API ...
将你的中文编码后传过去(比如utf8)
-- by liquidthinker -
item 是怎么回事
多谢各位了
-- by empireghost -
item 是怎么回事
仔细研究了一下,该问题只在ie6.0下会出现 javascript 权威指南 ...
-- by cozone_柯中 -
item 是怎么回事
key是javascript的关键子吧
-- by hgq0011 -
item 是怎么回事
item 很特别,不能这样使用 如果你非要使用的话 要这样, var a ...
-- by cozone_柯中






评论排行榜