Submit dojo editor contents with form submission -


Currently the editor content is presented because of "onchange", if the content of the editor changes < P> Code snippet:

  & lt; Td> How do I make sure that Dojo Editor content is submitted every single form whether it changes or not?  

; & Lt; Input type = "hidden" name = "editorcontent" id = 'editorcontent' value = "replaced by dijit. Editor onsite submit" /> & Lt; Div dojoType = "dijit.Editor" id = "content" onChange = "dojo.byId ('editor content'). Value = this.getValue ();" Plugins = "['forecolor', '|', 'bold', 'italic', 'underline', '|', 'createlink', 'unlink']" Additional plugin = "['dijit._editor.plugins.AlwaysShowToolbar '] "& Gt; & Lt; / Div & gt; & Lt; / TD & gt;

You can write a simple onsmart handler to do this, even though you have The way code is structured, the hidden field must complete the same thing from starting the loaded value.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -