PHP Redactor WYSIWYG无post值

PHP Redactor WYSIWYG无post值,php,jquery,redactor,Php,Jquery,Redactor,我遇到了一个非常奇怪的问题,WYSIWYG编辑器redactor没有将值发布到服务器。下面是我如何实施它的: <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script> <link rel="stylesheet" href="/assets/shared/javascripts/redactor/redactor.css" /> <script

我遇到了一个非常奇怪的问题,WYSIWYG编辑器redactor没有将值发布到服务器。下面是我如何实施它的:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script>
<link rel="stylesheet" href="/assets/shared/javascripts/redactor/redactor.css" />
<script src="/assets/shared/javascripts/redactor/redactor.js"></script>

<script type="text/javascript">
$(document).ready(function() {
    $('#redactor_content').redactor({
    imageUpload: '/upload/image/<?=$_GET['id']?>/',
    imageGetJson: '/upload/index/<?=$_GET['id']?>/'
    });
});
</script>

<textarea name="content" id="redactor_content"></textarea>

$(文档).ready(函数(){
$(“#修订内容”)。修订内容({
imageUpload:“/upload/image/”,
imageGetJson:'/upload/index/'
});
});
我正在尝试使用
$\u post['content']
检索post值


我认为它可能是jQuery库的旧版本,但如果我使用演示脚本,它在jQuery1.7.2中运行良好。我在控制台中没有看到任何东西,我检查了它在Chrome和Firefox中都不起作用。任何建议都将不胜感激。

问题是一些格式错误的HTML导致Chrome和Firefox提前自动关闭表单标签。我进一步向上移动了开始表单标签,现在可以看到所见即所得编辑器(redactor)中的所有post数据。希望这对其他人有帮助