Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想问我是否想使用 Jquery Ajax 从网站获取数值,关于如何开始的任何想法?
我将不胜感激任何建议。谢谢!
问候,
迅速
它应该是这样的
$.get("/yoururl", function (numberString) { var i = parseInt(numberString); alert(i); });