I am currently working with the wmd text editor. I have been able to fully implement everything without little effort. I am trying to place a hidden field inside a textarea for later use to retrieve the value of the #wmd-preview div. The issue is that I am getting the html text attribute of the input field appear inside the actual textarea. I am not sure why is doing so since the attribute of the input is hidden.
How can i place a hidden input field inside a textarea then? EXAMPLE
HTML
<textarea id="wmd-input" name="editor-text" cols="92" rows="15" tabindex="6"><input type="hidden" id="myhidden" name="myhidden" value="<? $wmdVal ?>"></textarea>
Everything between
<textarea>tags will be considered text. Why would you want to put it inside the text area in the first place? Why not place it below it? It won’t be visible anyway.