我想引用Javascript中的域基,它将是本地环境中的http://localhost/project和 (或https (取决于页面))。我目前正在定义两个全局变量,一个用于指向其他非https页面的链接(我不想使用当前页面可能是https的事实),另一个用于获取页面是否为https,以加载资源而不存在不安全的元素警告。/'; //non-SSL version
只是一些背景:如果一切顺利,客户端javascript会将页面刷新到正确的位置。问题
"ajax“调用--我需要保护它--我是通过调用https来实现的吗?这就足够了吗?- 1.1 Currently I use jQuery $post which has a relative path to the login.php to ch
pressed check if its code was 9 (TAB) // if TAB was pressed send an AJAX// to the server passing it the currently $.ajaxdata: { value: $(this).val() },
s