【发布时间】:2013-12-30 16:59:29
【问题描述】:
ajax 是否适用于 iOS 和 OSX 上的Captive network Assistant? 我正在使用 jquery 执行以下操作,但不起作用。 这 响应文本 变量既不是真也不是假。在适当的 Safari 浏览器以及 android 和 windows 设备上运行良好。
另外,Captive network Assistant 是否有任何可用的文档?我在谷歌上找不到任何东西。
function checkEmailHost(hostname) {
if ($.ajax({
type : "GET",
url : "welcome/emailvalidate",
data : "hostname=" + hostname,
async : false
}).responseText == "true") {
return true;
} else {
return false;
}
}
提前致谢。
【问题讨论】:
标签: jquery ios ajax macos captivenetwork