7
A
回答
12
嘗試以下。我已經在FF 3.6和Chrome 6上測試過了,它可以工作。
$.get('data/eurofxref-daily.xml', function(xml) {
var jsonObj = $.xml2json(xml);
alert(jsonObj.Cube.Cube.Cube[0]["rate"]);
});
相關問題
- 1. 如何使用jQuery
- 2. 如何使用jQuery
- 3. 如何使用jQuery
- 4. 如何使用jQuery
- 5. 如何使用jQuery
- 6. 如何使用jQuery
- 7. 如何使用jQuery
- 8. 如何使用jQuery
- 9. 如何使用jQuery
- 10. 如何使用jQuery
- 11. 如何使用jQuery
- 12. 如何使用jQuery
- 13. 如何使用jQuery
- 14. 如何使用jquery
- 15. 如何使用jQuery
- 16. 如何使用jQuery
- 17. 如何使用jQuery
- 18. 如何使用jQuery
- 19. 如何使用jQuery
- 20. 如何使用jQuery
- 21. 如何使用jQuery
- 22. 如何使用jQuery
- 23. 如何使用jQuery
- 24. 如何使用JQuery
- 25. 如何使用jQuery
- 26. 如何使用jQuery
- 27. 如何使用jQuery
- 28. 如何使用jQuery
- 29. 如何使用jQuery
- 30. 如何使用jQuery
謝謝先生!有這個問題的 ,我也發現了www.sordu.com! Regards .. – theklc 2010-09-05 08:17:09
這似乎並不奏效:TypeError:jsonObj.Cube未定義 – Yster 2015-04-27 14:21:15