jQuery and TinyMCE: textarea value doesn't submit -


I'm using and submitting a form, but the texture does not post the price, a problem in that order is.

Here's the code:

  & lt; Form ID = "MyForm" method = "post" action = "post.php" & gt; & Lt; Text field name = "question_text" id = "question_text" style = "width: 543px; height: 250px;" & gt; & Lt; / Textarea & gt; & Lt; / Form & gt;  
  $ ('# MyForm') submitted (function () {$ .ajax ({type: 'POST', URL : $ (This) .attr ('verb'), data: $ (this). Serialize (), success: function (data) {$ ('# result'). FadeIn ('slow'); $ ('# Result ') .html (data); $ (' loading '). Hide ();}}) returned;}); TinyMCE.init ({General option mode //: "textareas", theme: "advanced", // theme options theme_advanced_buttons1: "bold, italic, underline, separator, image, separator, justifyleft, justifycenter, justifyright, jformatselect, fontselect, Fontsizeselect, justifyfull, bullist, numlist, undo, redo, styleprops, cite, link, unlink, media, advhr, code, preview ", theme_advanced_buttons2:" ", theme_advanced_toolbar_location:" top ", theme_advanced_toolbar_align:" leave " , Theme_advanced_statusbar_location: "bottom", theme_advanced_resize_horizontal: false, theme_advanced_resizing: true, extended_valid_elements: "a [name | href | target | title | onclick], img [and | Src | border = 0 | alt | title | hspace | vspace | width | height | align | onmouseover | onmouseout | name], hour [square | width | shape | navode], font [face | shape | color | style] , Duration [class | line | style] ",});  

Can you please explain to me what should I change, and why, in the text area, posted to get value?

After "text" itemprop = "text">

Before sending the form, call tinyMCE.triggerSave ();


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -