htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Discussion:
htmlarea not saving modified value


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


amhaskar
New User

Dec 22, 2004, 12:20 PM

Post #1 of 1 (2653 views)
Shortcut
htmlarea not saving modified value Can't Post

I have a simple html form that posts to an asp processing page. There are two textarea's on the page but only one of them is an htmlarea (name and id are "code"). When submitting the form the value from "code" is not submitted, but all other form values are.

Below is the relevant code for the form (sorry I couldn't make it look any prettier, but I couldn't figure out how and there isn't much anyway):



Code
  

<script language="javascript"> var config = new HTMLArea.Config(); config.height = "300px"; config.toolbar = [.]; HTMLArea.replace("code", config"); </script>... <td ...> <textarea id="code" name="code"></textarea> </td>...




on the processing page I directly insert the value into my sql statement. I have tried using a Response.Write statement to make sure the value was being passed and all I got was an empty string. Furthermore, I had some javascript alert the value of the textarea prior to submitting and didn't get any value in that case either.

Am I missing something here...?

Thanks! (any and all help is appreciated)

 
 
 


Search for (options)