开发者

arguments.length works but not argument[0].value

I am trying to get a value of the response I check arguments.length and it says 1 and works but when I do arguments[0].value开发者_如何学C or arguments[0].responseText it doesn't work... it says undefined.... how do I get the values?


I don't think there's enough information in this question to properly answer you... but I'm guessing that the arguments list isn't of the type you think it is. arguments[0] probably just doesn't have a value or responseText attributes.

Download and install Firebug for Firefox and then console.log(arguments[0]) or just arguments. See what properties it actually has. (or just alert it)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜