jquery - PHP Redactor WYSIWYG no post value -
i'm getting weird problem wysiwyg editor redactor not posting values server. here how i'm implementing it:
<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>
and i'm trying retrieve post value using $_post['content']
.
i thought might older version of jquery library if use demo scripts works fine jquery 1.7.2. i'm not seeing in console , checked it's not working in both chrome , firefox. suggestions appreciated.
the issue malformed html causing both chrome , firefox automatically close form tag early. moved opening form tag further , see post data wysiwyg editor (redactor). hope helps else.
Comments
Post a Comment