以下形式导致$_POSTIE9上的空变量.
<form id='login' action='login.php' method='POST' accept-charset='UTF-8'>
<input type='text' name="username" id='username' />
<input type='password' name='password' id='password' />
<input type="text" name="store" />
<input type='submit' name='Submit' value='Submit' />
</form>
Run Code Online (Sandbox Code Playgroud)
该表单在Firefox和Chrome上运行良好.所有变量都出现在$_POST变量中而没有任何问题.
但是,在IE9上,表单已正确提交,但是$_POST是空数组.即,在login.php中:
print_r($_POST);
Run Code Online (Sandbox Code Playgroud)
打印空数组.我试图找出IE9的不同之处,它使得它与Firefox和Chrome的行为有所不同,我无法弄明白.
我发现在Apache下提到一些导致人们出现问题的模块,但是我正在运行IIS7,而不是Apache,所以不是这样.Ruby论坛上有人提到在注册表中将DisableNTLMPreAuth设置为1,但这也没有修复它.
任何帮助表示赞赏.
我正在为CKEDITOR开发一个占位符插件,它基本上是完整的.我遇到的问题是我试图从对话框中的选择中获取值和描述,而我只是获得了值.包含描述和值的数组如下所示
- >
items: [['description1', 'value1'], ['description2', 'value2']] < -
在返回 - > contents - >元素中ID dropdown我有setup和commit函数.在这些函数中,我需要获取描述就像从select选项中获取名称一样.
真的需要帮助这个,谢谢你提前
例子 - >
<select>
<option value="value1">description1</option>
<option value="value2">description2</option>
</select>
Run Code Online (Sandbox Code Playgroud)
示例< -
(function () {
function placeholderDialog(editor, isEdit) {
var lang = editor.lang.phlink,
generalLabel = editor.lang.common.generalTab;
return {
title: lang.title,
minWidth: 300,
minHeight: 80,
contents: [
{
id: 'info',
label: generalLabel,
title: generalLabel,
elements: [
{
id: 'dropdown'
, …Run Code Online (Sandbox Code Playgroud) 如何将twilio导入nodejs es模块?
const client = require("twilio")(YOUR_ACCOUNT_SID, YOUR_AUTH_TOKEN);
Run Code Online (Sandbox Code Playgroud)