require(["dojo/_base/xhr"],
function(xhr) {
// Execute a HTTP GET request
xhr.get({
// The URL to request
url: "get-message.php",
// The method that handles the request's successful result
// Handle the response any way you'd like!
load: function(result) {
alert("The message is: " + result);
}
});
});
相关文章
- 02-21【记录一个问题】macos下lldb调试opencv的一个程序,出现“failed to load objfile for”错误,并且无法调试进入opencv的函数
- 02-21hue的load balance
- 02-21go每日新闻(2021-07-02)——你真的了解 Load Balance 嘛
- 02-21负载均衡(Load Balance)
- 02-21dummy load , Attenuator
- 02-21加载load_digits样本数据集
- 02-21tensorflow.keras.datasets 中关于imdb.load_data的使用说明
- 02-21qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ““ even though it was found. This appl
- 02-21关于dojo自定义类
- 02-21我的DOJO学习之路(三)-几个DEMO